video-iac/k8s-notes/webrtc-be/existing-staging-deployment...

88 lines
3.1 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: "3"
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"labels":{"app":"webrtc-be","app.kubernetes.io/instance":"webrtc-be"},"name":"webrtc-be","namespace":"webrtc-be"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"webrtc-be"}},"template":{"metadata":{"labels":{"app":"webrtc-be"}},"spec":{"containers":[{"env":[{"name":"RTC_MIN_PORT","value":"30000"},{"name":"RTC_MAX_PORT","value":"32768"},{"name":"BACKEND_URL","value":"https://staging.jamkazam.com"}],"image":"gcr.io/tough-craft-276813/webrtc_be:latest","imagePullPolicy":"Always","name":"webrtc-be","ports":[{"containerPort":5001,"name":"websocket-port"}],"resources":{"limits":{"memory":"3800Mi"},"requests":{"cpu":"1200m","memory":"3800Mi"}}}],"hostNetwork":true,"imagePullSecrets":[{"name":"gcr-json-key"}]}}}}
creationTimestamp: "2021-11-18T08:57:30Z"
generation: 3
labels:
app: webrtc-be
app.kubernetes.io/instance: webrtc-be
name: webrtc-be
namespace: webrtc-be
resourceVersion: "147684262"
uid: 4190b38d-99f6-418a-ae75-8d8e2c6ad040
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: webrtc-be
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
annotations:
kubectl.kubernetes.io/restartedAt: "2024-11-18T01:57:59Z"
creationTimestamp: null
labels:
app: webrtc-be
spec:
containers:
- env:
- name: RTC_MIN_PORT
value: "30000"
- name: RTC_MAX_PORT
value: "32768"
- name: BACKEND_URL
value: https://staging.jamkazam.com
image: gcr.io/tough-craft-276813/webrtc_be:latest
imagePullPolicy: Always
name: webrtc-be
ports:
- containerPort: 5001
hostPort: 5001
name: websocket-port
protocol: TCP
resources:
limits:
memory: 3800Mi
requests:
cpu: 1200m
memory: 3800Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
hostNetwork: true
imagePullSecrets:
- name: gcr-json-key
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
availableReplicas: 1
conditions:
- lastTransitionTime: "2021-11-18T08:57:30Z"
lastUpdateTime: "2024-11-18T02:01:07Z"
message: ReplicaSet "webrtc-be-548f98f65f" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
- lastTransitionTime: "2024-11-21T13:15:14Z"
lastUpdateTime: "2024-11-21T13:15:14Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
observedGeneration: 3
readyReplicas: 1
replicas: 1
updatedReplicas: 1