Skip to content

Instantly share code, notes, and snippets.

@afrittoli
Created October 10, 2022 11:04
Show Gist options
  • Save afrittoli/1e1f28238dde7c85ade9d478599dc847 to your computer and use it in GitHub Desktop.
Save afrittoli/1e1f28238dde7c85ade9d478599dc847 to your computer and use it in GitHub Desktop.
ce-id: 2bdb8f71-535e-4f80-b728-e7e99df26cc5
ce-source: https://172.21.0.1:443
ce-version: 1.0
ce-type: dev.cdevents.service.deployed.v1
ce-subject: /apis/apps/v1/namespaces/production/deployments/podtato-server
ce-time: 2022-09-16T15:13:25.575448766Z
{
"context": {
"id": "8ec76402-9d85-42c8-8eb9-40f8d5a661f7",
"source": "https://172.21.0.1:443",
"timestamp": "2022-09-16T15:13:25.573904079Z",
"type": "dev.cdevents.service.deployed.v1",
"version": "draft"
},
"customData": {
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"creationTimestamp": "2022-09-16T15:13:25Z",
"generation": 1,
"labels": {
"app": "podtato-server"
},
"managedFields": [
{
"apiVersion": "apps/v1",
"fieldsType": "FieldsV1",
"fieldsV1": {
"f:metadata": {
"f:labels": {
".": {},
"f:app": {}
}
},
"f:spec": {
"f:progressDeadlineSeconds": {},
"f:replicas": {},
"f:revisionHistoryLimit": {},
"f:selector": {},
"f:strategy": {
"f:rollingUpdate": {
".": {},
"f:maxSurge": {},
"f:maxUnavailable": {}
},
"f:type": {}
},
"f:template": {
"f:metadata": {
"f:labels": {
".": {},
"f:app": {}
}
},
"f:spec": {
"f:containers": {
"k:{\"name\":\"podtatoserver\"}": {
".": {},
"f:image": {},
"f:imagePullPolicy": {},
"f:name": {},
"f:resources": {},
"f:terminationMessagePath": {},
"f:terminationMessagePolicy": {}
}
},
"f:dnsPolicy": {},
"f:restartPolicy": {},
"f:schedulerName": {},
"f:securityContext": {},
"f:terminationGracePeriodSeconds": {}
}
}
}
},
"manager": "kubectl-create",
"operation": "Update",
"time": "2022-09-16T15:13:25Z"
}
],
"name": "podtato-server",
"namespace": "production",
"resourceVersion": "50986536",
"uid": "8050c654-cd10-4d38-9d09-cbe31d4c0c6c"
},
"spec": {
"progressDeadlineSeconds": 600,
"replicas": 1,
"revisionHistoryLimit": 10,
"selector": {
"matchLabels": {
"app": "podtato-server"
}
},
"strategy": {
"rollingUpdate": {
"maxSurge": "25%",
"maxUnavailable": "25%"
},
"type": "RollingUpdate"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"app": "podtato-server"
}
},
"spec": {
"containers": [
{
"image": "cdevents.azurecr.io/podtatoserver@sha256:3589637f88593d730fdb3cd32558588d846bc699cbdc04e8a97f200687c4b6cf",
"imagePullPolicy": "IfNotPresent",
"name": "podtatoserver",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File"
}
],
"dnsPolicy": "ClusterFirst",
"restartPolicy": "Always",
"schedulerName": "default-scheduler",
"securityContext": {},
"terminationGracePeriodSeconds": 30
}
}
},
"status": {}
},
"customDataContentType": "application/json",
"subject": {
"content": {
"artifactId": "cdevents.azurecr.io/podtatoserver@sha256:3589637f88593d730fdb3cd32558588d846bc699cbdc04e8a97f200687c4b6cf",
"environment": {
"id": "production"
}
},
"id": "/apis/apps/v1/namespaces/production/deployments/podtato-server",
"source": "https://172.21.0.1:443",
"type": "service"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment