在 CertCentral 的資訊看板功能表中,按一下探索 > 管理探索。
在「管理掃描」頁面上,按一下新增感應器。
在「設定感應器」頁面的「步驟 1:下載 Docker 區段中的探索感應器」下,按一下 Kubernetes 部署檔案。
在您的系統中儲存套件 (digicert_sensor_kubernetes.zip)。確定記錄位置。
解壓縮 zip 檔的內容。
建立安裝目錄。
例如:
install_dir
然後在安裝目錄中複製解壓縮的資料夾 (digicert_sensor_kubernetes)。
在文字編輯器中開啟 values.yaml 檔案。
編輯 values.yaml 檔案,提供以下參數的資訊以設定感應器。
註:這些參數用於建置感應器到 CertCentral 帳戶中。
請前往感應器安裝目錄 (install_dir
),然後執行 helm install
命令以安裝和啟動感應器。
helm install <image name> <installation directory path>
例如:
helm install digicert-sensor ./install_dir
values.yaml 檔案看起來像這樣:
# Default values for sensor-charts.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: digicertinc/digicert-sensor
pullPolicy: Always
tag: "latest"
nameOverride: ""
fullnameOverride: ""
service:
type: ClusterIP
port: 8080
ingress:
enabled: false
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
daasDomain: "daas.digicert.com"
sensorHome: /usr/local/digicert/sensor
sensorAuthDetails:
username: username
password: password
divisionName: DivisionName
sensorName: sensorName
確認感應器安裝:
感應器記錄位置:<在 sensorHome 參數 >/logs/sensor.log 中定義的路徑
例如:/usr/local/digicert/sensor/logs/sensor.log