Created
March 6, 2025 16:54
-
-
Save vfarcic/3f22e8eb2bc7315f3f9762314de3a0eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
annotations: | |
deployment.kubernetes.io/revision: "1" | |
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"labels":{"app.kubernetes.io/name":"silly-demo"},"name":"silly-demo","namespace":"staging"},"spec":{"selector":{"matchLabels":{"app.kubernetes.io/name":"silly-demo"}},"template":{"metadata":{"labels":{"app.kubernetes.io/name":"silly-demo"}},"spec":{"containers":[{"env":[{"name":"DB_ENDPOINT","valueFrom":{"secretKeyRef":{"key":"endpoint","name":"silly-demo-db"}}},{"name":"DB_PASSWORD","valueFrom":{"secretKeyRef":{"key":"password","name":"silly-demo-db"}}},{"name":"DB_PORT","valueFrom":{"secretKeyRef":{"key":"port","name":"silly-demo-db","optional":true}}},{"name":"DB_USERNAME","valueFrom":{"secretKeyRef":{"key":"username","name":"silly-demo-db"}}},{"name":"DB_NAME","value":"main"}],"image":"ghcr.io/vfarcic/idp-full-demo:0.0.7","livenessProbe":{"httpGet":{"path":"/","port":8080}},"name":"silly-demo","ports":[{"containerPort":8080}],"readinessProbe":{"httpGet":{"path":"/","port":8080}},"resources":{"limits":{"cpu":"250m","memory":"256Mi"},"requests":{"cpu":"125m","memory":"128Mi"}}}]}}}}' | |
creationTimestamp: "2025-03-06T15:33:29Z" | |
generation: 1 | |
labels: | |
app.kubernetes.io/name: silly-demo | |
name: silly-demo | |
namespace: staging | |
resourceVersion: "37526" | |
uid: 83d8f079-8f83-4bb7-b43e-4391d86aa5b2 | |
spec: | |
progressDeadlineSeconds: 600 | |
replicas: 1 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
app.kubernetes.io/name: silly-demo | |
strategy: | |
rollingUpdate: | |
maxSurge: 25% | |
maxUnavailable: 25% | |
type: RollingUpdate | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
app.kubernetes.io/name: silly-demo | |
spec: | |
containers: | |
- env: | |
- name: DB_ENDPOINT | |
valueFrom: | |
secretKeyRef: | |
key: endpoint | |
name: silly-demo-db | |
- name: DB_PASSWORD | |
valueFrom: | |
secretKeyRef: | |
key: password | |
name: silly-demo-db | |
- name: DB_PORT | |
valueFrom: | |
secretKeyRef: | |
key: port | |
name: silly-demo-db | |
optional: true | |
- name: DB_USERNAME | |
valueFrom: | |
secretKeyRef: | |
key: username | |
name: silly-demo-db | |
- name: DB_NAME | |
value: main | |
image: ghcr.io/vfarcic/idp-full-demo:0.0.7 | |
imagePullPolicy: IfNotPresent | |
livenessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: / | |
port: 8080 | |
scheme: HTTP | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
name: silly-demo | |
ports: | |
- containerPort: 8080 | |
protocol: TCP | |
readinessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: / | |
port: 8080 | |
scheme: HTTP | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
resources: | |
limits: | |
cpu: 250m | |
memory: 256Mi | |
requests: | |
cpu: 125m | |
memory: 128Mi | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
terminationGracePeriodSeconds: 30 | |
status: | |
availableReplicas: 1 | |
conditions: | |
- lastTransitionTime: "2025-03-06T15:33:35Z" | |
lastUpdateTime: "2025-03-06T15:33:35Z" | |
message: Deployment has minimum availability. | |
reason: MinimumReplicasAvailable | |
status: "True" | |
type: Available | |
- lastTransitionTime: "2025-03-06T15:33:30Z" | |
lastUpdateTime: "2025-03-06T15:33:35Z" | |
message: ReplicaSet "silly-demo-7f5d698fbd" has successfully progressed. | |
reason: NewReplicaSetAvailable | |
status: "True" | |
type: Progressing | |
observedGeneration: 1 | |
readyReplicas: 1 | |
replicas: 1 | |
updatedReplicas: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment