apiVersion: apps/v1 kind: Deployment metadata: name: kubeviz namespace: kubeviz spec: replicas: 1 selector: matchLabels: app: kubeviz template: metadata: labels: app: kubeviz spec: automountServiceAccountToken: false securityContext: seccompProfile: type: RuntimeDefault containers: - name: kubeviz image: kubeviz:latest imagePullPolicy: IfNotPresent securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true runAsNonRoot: true capabilities: drop: ["ALL"] ports: - containerPort: 8080 name: http envFrom: - configMapRef: name: kubeviz-config volumeMounts: - name: tmp mountPath: /tmp resources: requests: cpu: 100m memory: 128Mi limits: cpu: 500m memory: 512Mi readinessProbe: httpGet: path: / port: http initialDelaySeconds: 3 periodSeconds: 10 livenessProbe: httpGet: path: / port: http initialDelaySeconds: 10 periodSeconds: 20 volumes: - name: tmp emptyDir: {}