Forked from FreedomBen/retrieved-deployment-basic-ocp-demo.yaml
Created
July 16, 2022 13:07
-
-
Save hemanth22/09513f608947fe3f156ba3fd7140752e to your computer and use it in GitHub Desktop.
Deployment read back from OpenShift API with `oc get deployment basic-ocp-demo -o yaml`
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":{"annotations":{},"labels":{"app":"basic-ocp-demo"},"name":"basic-ocp-demo","namespace":"basic-ocp-demo-project"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"basic-ocp-demo"}},"template":{"metadata":{"labels":{"app":"basic-ocp-demo"}},"spec":{"containers":[{"env":[{"name":"BASIC_OCP_DEMO_ENV","value":"master"}],"image":"quay.io/freedomben/basic-ocp-demo:latest","imagePullPolicy":"Always","name":"basic-ocp-demo","ports":[{"containerPort":4567,"protocol":"TCP"}],"readinessProbe":{"httpGet":{"path":"/healthz","port":4567,"scheme":"HTTP"},"initialDelaySeconds":5,"periodSeconds":1}}]}}}} | |
creationTimestamp: "2021-01-08T02:09:21Z" | |
generation: 1 | |
labels: | |
app: basic-ocp-demo | |
name: basic-ocp-demo | |
namespace: basic-ocp-demo-project | |
resourceVersion: "478190322" | |
selfLink: /apis/apps/v1/namespaces/basic-ocp-demo-project/deployments/basic-ocp-demo | |
uid: 0c112d3c-32a7-4e91-b562-338ee0b055fa | |
spec: | |
progressDeadlineSeconds: 600 | |
replicas: 1 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
app: basic-ocp-demo | |
strategy: | |
rollingUpdate: | |
maxSurge: 25% | |
maxUnavailable: 25% | |
type: RollingUpdate | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: basic-ocp-demo | |
spec: | |
containers: | |
- env: | |
- name: BASIC_OCP_DEMO_ENV | |
value: master | |
image: quay.io/freedomben/basic-ocp-demo:latest | |
imagePullPolicy: Always | |
name: basic-ocp-demo | |
ports: | |
- containerPort: 4567 | |
protocol: TCP | |
readinessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: /healthz | |
port: 4567 | |
scheme: HTTP | |
initialDelaySeconds: 5 | |
periodSeconds: 1 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
terminationGracePeriodSeconds: 30 | |
status: | |
availableReplicas: 1 | |
conditions: | |
- lastTransitionTime: "2021-01-08T02:09:43Z" | |
lastUpdateTime: "2021-01-08T02:09:43Z" | |
message: Deployment has minimum availability. | |
reason: MinimumReplicasAvailable | |
status: "True" | |
type: Available | |
- lastTransitionTime: "2021-01-08T02:09:21Z" | |
lastUpdateTime: "2021-01-08T02:09:43Z" | |
message: ReplicaSet "basic-ocp-demo-554ddd794f" 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