apiVersion: apps/v1 kind: Deployment metadata: labels: app: chat-frontend name: chat-frontend namespace: zhishuyun-test spec: replicas: 1 revisionHistoryLimit: 5 selector: matchLabels: app: chat-frontend template: metadata: labels: app: chat-frontend spec: containers: - image: ghcr.io/zhishuyun/chat-frontend:${TAG} name: chat-frontend ports: - containerPort: 80 resources: requests: memory: '50Mi' cpu: '20m' limits: memory: '100Mi' cpu: '30m' imagePullSecrets: - name: docker-registry restartPolicy: Always