apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "1"
    meta.helm.sh/release-name: socials
    meta.helm.sh/release-namespace: base
  creationTimestamp: "2022-01-20T16:00:23Z"
  generation: 1
  labels:
    app.kubernetes.io/managed-by: Helm
    service: nginx-thrift
  name: nginx-thrift
  namespace: base
  resourceVersion: "182423"
  uid: e24bf70c-b998-4f07-9f43-80ea12bf7f3b
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      service: nginx-thrift
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: nginx-thrift
        service: nginx-thrift
    spec:
      containers:
      - env:
        - name: fqdn_suffix
          value: .base.svc.cluster.local
        image: docker.io/yg397/openresty-thrift:xenial
        imagePullPolicy: IfNotPresent
        name: nginx-thrift
        ports:
        - containerPort: 8080
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /usr/local/openresty/nginx/jaeger-config.json
          name: nginx-thrift-config
          subPath: jaeger-config.json
        - mountPath: /usr/local/openresty/nginx/conf/nginx.conf
          name: nginx-thrift-config
          subPath: nginx.conf
        - mountPath: /keys/CA.pem
          name: nginx-thrift-config
          subPath: CA.pem
      dnsPolicy: ClusterFirst
      hostname: nginx-thrift
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      volumes:
      - configMap:
          defaultMode: 420
          name: nginx-thrift
        name: nginx-thrift-config
status:
  conditions:
  - lastTransitionTime: "2022-01-20T16:00:25Z"
    lastUpdateTime: "2022-01-20T16:03:31Z"
    message: ReplicaSet "nginx-thrift-797987655c" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  - lastTransitionTime: "2022-01-20T16:22:00Z"
    lastUpdateTime: "2022-01-20T16:22:00Z"
    message: Deployment does not have minimum availability.
    reason: MinimumReplicasUnavailable
    status: "False"
    type: Available
  observedGeneration: 1
  replicas: 1
  unavailableReplicas: 1
  updatedReplicas: 1
apiVersion: v1
kind: Service
metadata:
  annotations:
    meta.helm.sh/release-name: socials
    meta.helm.sh/release-namespace: base
  creationTimestamp: "2022-01-20T16:00:23Z"
  labels:
    app.kubernetes.io/managed-by: Helm
  name: nginx-thrift
  namespace: base
  resourceVersion: "179389"
  uid: 970c1993-463a-4700-b86a-0d50eeac8691
spec:
  clusterIP: 10.96.96.145
  clusterIPs:
  - 10.96.96.145
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack
  ports:
  - name: "8080"
    port: 8080
    protocol: TCP
    targetPort: 8080
  selector:
    service: nginx-thrift
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}
