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