video-iac/k8s-notes/coturn-dns/existing-staging.yaml

89 lines
3.4 KiB
YAML
Raw Normal View History

2025-04-06 22:58:43 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "53"
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"labels":{"app.kubernetes.io/instance":"coturn-dns"},"name":"coturn-dns","namespace":"coturn-dns"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"coturn-dns"}},"strategy":{"rollingUpdate":{"maxSurge":0,"maxUnavailable":1},"type":"RollingUpdate"},"template":{"metadata":{"labels":{"app":"coturn-dns"}},"spec":{"containers":[{"env":[{"name":"AWS_ACCESS_KEY_ID","valueFrom":{"secretKeyRef":{"key":"username","name":"aws-user-coturn-dns"}}},{"name":"AWS_SECRET_ACCESS_KEY","valueFrom":{"secretKeyRef":{"key":"password","name":"aws-user-coturn-dns"}}},{"name":"PYTHONUNBUFFERED","value":"1"},{"name":"HOSTED_ZONE","value":"Z00156242SK162FEXDPVF"},{"name":"COTURN_DOMAIN_NAME","value":"coturn.staging.video.jamkazam.com"}],"image":"gcr.io/tough-craft-276813/coturn-dns:latest","imagePullPolicy":"Always","name":"coturn-dns","resources":{"limits":{"memory":"128Mi"},"requests":{"memory":"128Mi"}}}],"imagePullSecrets":[{"name":"gcr-json-key"}]}}}}
creationTimestamp: "2021-11-15T17:02:14Z"
generation: 56
labels:
app.kubernetes.io/instance: coturn-dns
name: coturn-dns
namespace: coturn-dns
resourceVersion: "148191397"
uid: d3fd02f4-1f28-4cb4-8e4d-294155213368
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: coturn-dns
strategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
annotations:
kubectl.kubernetes.io/restartedAt: "2021-11-18T19:56:56Z"
creationTimestamp: null
labels:
app: coturn-dns
spec:
containers:
- env:
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
key: username
name: aws-user-coturn-dns
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
key: password
name: aws-user-coturn-dns
- name: PYTHONUNBUFFERED
value: "1"
- name: HOSTED_ZONE
value: Z00156242SK162FEXDPVF
- name: COTURN_DOMAIN_NAME
value: coturn.staging.video.jamkazam.com
image: gcr.io/tough-craft-276813/coturn-dns:latest
imagePullPolicy: Always
name: coturn-dns
resources:
limits:
memory: 128Mi
requests:
memory: 128Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: gcr-json-key
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
conditions:
- lastTransitionTime: "2021-11-15T17:02:14Z"
lastUpdateTime: "2021-11-15T17:02:14Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2021-11-15T19:12:57Z"
lastUpdateTime: "2021-11-18T19:56:58Z"
message: ReplicaSet "coturn-dns-686c986557" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 56
replicas: 1
unavailableReplicas: 1
updatedReplicas: 1