To deploy Kaspersky Scan Engine to Kubernetes:
kaspersky_httpd_kubernetes.yaml
:template/spec/volumes
section:- name: httpd-cert
secret:
secretName: kl-httpd-cert
- name: httpd-key
secret:
secretName: kl-httpd-key
template/spec/containers/volumeMounts
section:- mountPath: "/opt/kaspersky/ScanEngine/httpdcert"
name: httpd-cert
readOnly: true
- mountPath: "/opt/kaspersky/ScanEngine/httpdkey"
name: httpd-key
readOnly: true
kaspersky_httpd_kubernetes.yaml
(HTTP mode) or kaspersky_icapd_kubernetes.yaml
(ICAP mode):template/spec/volumes
section:- name: secret-key
secret:
secretName: kl-secret-key
template/spec/containers/volumeMounts
section:- mountPath: "/opt/kaspersky/ScanEngine/httpsrv"
name: secret-key
readOnly: true
kaspersky_httpd_kubernetes.yaml
(HTTP mode) or kaspersky_icapd_kubernetes.yaml
(ICAP mode):template/spec/volumes
section:- name: webui-cert
secret:
secretName: kl-webui-cert
- name: webui-key
secret:
secretName: kl-webui-key
template/spec/containers/volumeMounts
section:- mountPath: "/opt/kaspersky/ScanEngine/httpsrvcert"
name: webui-cert
readOnly: true
- mountPath: "/opt/kaspersky/ScanEngine/httpsrvkey"
name: webui-key
readOnly: true
kubectl apply -f kaspersky_httpd_kubernetes.yaml
kubectl apply -f kaspersky_icapd_kubernetes.yaml
kubectl get deployment,pods,service -n kaspersky
The displayed list should contain the following resources:
kaspersky
namespaceLoadBalancer
LoadBalancer
scanengine-httpd
scanengine-httpd-%Kaspersky Scan Engine GUID%
scanengine-httpd
scanengine-icapd
scanengine-icapd-%Kaspersky Scan Engine GUID%
scanengine-icapd