--- apiVersion: apps/v1 kind: Deployment metadata: name: obf namespace: observe labels: app.kubernetes.io/name: obf spec: selector: matchLabels: app.kubernetes.io/name: obf replicas: 1 template: metadata: labels: app.kubernetes.io/name: obf spec: containers: - name: nginx image: reg.cestong.com.cn/cecf/observe-front:latest imagePullPolicy: Always ports: - name: web containerPort: 80 protocol: TCP securityContext: allowPrivilegeEscalation: false #runAsGroup: '' env: - name: TZ value: "Asia/Shanghai"