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: url-shorten-service
  name: url-shorten-service
  namespace: base
  resourceVersion: "179853"
  uid: 7e26c0d8-a4a4-41b2-90b4-afa5f17cf2c5
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      service: url-shorten-service
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: url-shorten-service
        service: url-shorten-service
    spec:
      containers:
      - command:
        - UrlShortenService
        image: docker.io/fpes/social-network-microservices:xenial
        imagePullPolicy: IfNotPresent
        name: url-shorten-service
        ports:
        - containerPort: 9090
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /social-network-microservices/config/jaeger-config.yml
          name: url-shorten-service-config
          subPath: jaeger-config.yml
        - mountPath: /social-network-microservices/config/service-config.json
          name: url-shorten-service-config
          subPath: service-config.json
      dnsPolicy: ClusterFirst
      hostname: url-shorten-service
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      volumes:
      - configMap:
          defaultMode: 420
          name: url-shorten-service
        name: url-shorten-service-config
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: "2022-01-20T16:00:37Z"
    lastUpdateTime: "2022-01-20T16:00:37Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2022-01-20T16:00:26Z"
    lastUpdateTime: "2022-01-20T16:00:37Z"
    message: ReplicaSet "url-shorten-service-54c6694fd5" 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: url-shorten-service
  namespace: base
  resourceVersion: "179323"
  uid: 41210005-bf75-4e04-9058-d5865bcad862
spec:
  clusterIP: 10.96.121.245
  clusterIPs:
  - 10.96.121.245
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack
  ports:
  - name: "9090"
    port: 9090
    protocol: TCP
    targetPort: 9090
  selector:
    service: url-shorten-service
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}
