---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: openlookeng-website-docs
  namespace: openlookeng-docs
spec:
  replicas: 1
  strategy:
    rollingUpdate:
      maxUnavailable: 1
    type: RollingUpdate
  selector:
    matchLabels:
      app: openlookeng-website-docs
  template:
    metadata:
      labels:
        app: openlookeng-website-docs
    spec:
      imagePullSecrets:
        - name: huawei-swr-image-pull-secret
      containers:
      - name: openlookeng-website-docs
        image: swr.cn-north-4.myhuaweicloud.com/opensourceway/openlookeng/openlookeng_website_docs_test:dc52ae4ede44d118a6b884007d2c88e2c8d047a5
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 80
          name: http
          protocol: TCP
        resources:
          requests:
            cpu: 1000m
            memory: 1000Mi
          limits:
            cpu: 1000m
            memory: 1000Mi
