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: media-frontend
  name: media-frontend
  namespace: base
  resourceVersion: "179896"
  uid: 60b6b3e1-f1d7-4039-8de5-20921e60fc5e
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      service: media-frontend
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: media-frontend
        service: media-frontend
    spec:
      containers:
      - env:
        - name: fqdn_suffix
          value: .base.svc.cluster.local
        image: docker.io/fpes/media-frontend:xenial
        imagePullPolicy: IfNotPresent
        name: media-frontend
        ports:
        - containerPort: 8081
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /usr/local/openresty/nginx/conf/nginx.conf
          name: media-frontend-config
          subPath: nginx.conf
        - mountPath: /social-network-microservices/config/jaeger-config.yml
          name: media-frontend-config
          subPath: jaeger-config.yml
        - mountPath: /social-network-microservices/config/service-config.json
          name: media-frontend-config
          subPath: service-config.json
      dnsPolicy: ClusterFirst
      hostname: media-frontend
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      volumes:
      - configMap:
          defaultMode: 420
          name: media-frontend
        name: media-frontend-config
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: "2022-01-20T16:00:40Z"
    lastUpdateTime: "2022-01-20T16:00:40Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2022-01-20T16:00:23Z"
    lastUpdateTime: "2022-01-20T16:00:40Z"
    message: ReplicaSet "media-frontend-5f7d88fddf" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  observedGeneration: 1
  readyReplicas: 1
  replicas: 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: media-frontend
  namespace: base
  resourceVersion: "179349"
  uid: 3c82a8f8-6f9e-4409-8dc8-19a7825f350a
spec:
  clusterIP: 10.96.34.98
  clusterIPs:
  - 10.96.34.98
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack
  ports:
  - name: "8081"
    port: 8081
    protocol: TCP
    targetPort: 8080
  selector:
    service: media-frontend
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}
