mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
310 lines
9.6 KiB
JSON
310 lines
9.6 KiB
JSON
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "Deployment",
|
|
"metadata": {
|
|
"annotations": {
|
|
"deployment.kubernetes.io/revision": "4",
|
|
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{},\"labels\":{\"app\":\"manual-apply-app\",\"applications.argoproj.io/app-name\":\"manual-apply-app\"},\"name\":\"manual-apply-test-deployment\",\"namespace\":\"default\"},\"spec\":{\"replicas\":1,\"selector\":{\"matchLabels\":{\"app\":\"manual-apply-test\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"manual-apply-test\"}},\"spec\":{\"automountServiceAccountToken\":false,\"containers\":[{\"image\":\"nginx:latest\",\"name\":\"main-container\",\"ports\":[{\"containerPort\":80,\"name\":\"http\"}],\"resources\":{\"limits\":{\"memory\":\"100Mi\"}}},{\"image\":\"spurin/idle:latest\",\"name\":\"idle\",\"ports\":[{\"containerPort\":8080,\"name\":\"web\",\"protocol\":\"TCP\"}]}]}}}}\n"
|
|
},
|
|
"creationTimestamp": "2025-02-25T00:20:45Z",
|
|
"generation": 5,
|
|
"labels": {
|
|
"app": "manual-apply-app",
|
|
"applications.argoproj.io/app-name": "manual-apply-app",
|
|
"mutation-test": "FROM-MUTATION-WEBHOOK"
|
|
},
|
|
"managedFields": [
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:labels": {
|
|
"f:app": {},
|
|
"f:applications.argoproj.io/app-name": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:replicas": {},
|
|
"f:selector": {},
|
|
"f:template": {
|
|
"f:metadata": {
|
|
"f:labels": {
|
|
"f:app": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:automountServiceAccountToken": {},
|
|
"f:containers": {
|
|
"k:{\"name\":\"main-container\"}": {
|
|
".": {},
|
|
"f:image": {},
|
|
"f:name": {},
|
|
"f:ports": {
|
|
"k:{\"containerPort\":40,\"protocol\":\"TCP\"}": {
|
|
".": {},
|
|
"f:containerPort": {},
|
|
"f:name": {}
|
|
},
|
|
"k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
|
|
".": {},
|
|
"f:containerPort": {},
|
|
"f:name": {}
|
|
}
|
|
},
|
|
"f:resources": {
|
|
"f:limits": {
|
|
"f:memory": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"manager": "argocd-controller",
|
|
"operation": "Apply",
|
|
"time": "2025-02-25T01:31:03Z"
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:annotations": {},
|
|
"f:labels": {
|
|
".": {},
|
|
"f:app": {},
|
|
"f:applications.argoproj.io/app-name": {}
|
|
}
|
|
},
|
|
"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:automountServiceAccountToken": {},
|
|
"f:containers": {
|
|
"k:{\"name\":\"main-container\"}": {
|
|
".": {},
|
|
"f:image": {},
|
|
"f:imagePullPolicy": {},
|
|
"f:name": {},
|
|
"f:ports": {
|
|
".": {},
|
|
"k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
|
|
".": {},
|
|
"f:containerPort": {},
|
|
"f:name": {},
|
|
"f:protocol": {}
|
|
}
|
|
},
|
|
"f:resources": {
|
|
".": {},
|
|
"f:limits": {
|
|
".": {},
|
|
"f:memory": {}
|
|
}
|
|
},
|
|
"f:terminationMessagePath": {},
|
|
"f:terminationMessagePolicy": {}
|
|
}
|
|
},
|
|
"f:dnsPolicy": {},
|
|
"f:restartPolicy": {},
|
|
"f:schedulerName": {},
|
|
"f:securityContext": {},
|
|
"f:terminationGracePeriodSeconds": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"manager": "argocd-controller",
|
|
"operation": "Update",
|
|
"time": "2025-02-25T01:19:32Z"
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:annotations": {
|
|
"f:kubectl.kubernetes.io/last-applied-configuration": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:template": {
|
|
"f:spec": {
|
|
"f:containers": {
|
|
"k:{\"name\":\"idle\"}": {
|
|
".": {},
|
|
"f:image": {},
|
|
"f:imagePullPolicy": {},
|
|
"f:name": {},
|
|
"f:ports": {
|
|
".": {},
|
|
"k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": {
|
|
".": {},
|
|
"f:containerPort": {},
|
|
"f:name": {},
|
|
"f:protocol": {}
|
|
}
|
|
},
|
|
"f:resources": {},
|
|
"f:terminationMessagePath": {},
|
|
"f:terminationMessagePolicy": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"manager": "kubectl-client-side-apply",
|
|
"operation": "Update",
|
|
"time": "2025-02-25T01:29:34Z"
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:annotations": {
|
|
"f:deployment.kubernetes.io/revision": {}
|
|
}
|
|
},
|
|
"f:status": {
|
|
"f:availableReplicas": {},
|
|
"f:conditions": {
|
|
".": {},
|
|
"k:{\"type\":\"Available\"}": {
|
|
".": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:lastUpdateTime": {},
|
|
"f:message": {},
|
|
"f:reason": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Progressing\"}": {
|
|
".": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:lastUpdateTime": {},
|
|
"f:message": {},
|
|
"f:reason": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
}
|
|
},
|
|
"f:observedGeneration": {},
|
|
"f:readyReplicas": {},
|
|
"f:replicas": {},
|
|
"f:updatedReplicas": {}
|
|
}
|
|
},
|
|
"manager": "kube-controller-manager",
|
|
"operation": "Update",
|
|
"subresource": "status",
|
|
"time": "2025-02-25T01:29:44Z"
|
|
}
|
|
],
|
|
"name": "manual-apply-test-deployment",
|
|
"namespace": "default",
|
|
"resourceVersion": "46835",
|
|
"uid": "c2ff066f-cbbd-408d-a015-85f1b6332193"
|
|
},
|
|
"spec": {
|
|
"progressDeadlineSeconds": 600,
|
|
"replicas": 1,
|
|
"revisionHistoryLimit": 10,
|
|
"selector": {
|
|
"matchLabels": {
|
|
"app": "manual-apply-test"
|
|
}
|
|
},
|
|
"strategy": {
|
|
"rollingUpdate": {
|
|
"maxSurge": "25%",
|
|
"maxUnavailable": "25%"
|
|
},
|
|
"type": "RollingUpdate"
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"app": "manual-apply-test"
|
|
}
|
|
},
|
|
"spec": {
|
|
"automountServiceAccountToken": false,
|
|
"containers": [
|
|
{
|
|
"image": "nginx:latest",
|
|
"imagePullPolicy": "Always",
|
|
"name": "main-container",
|
|
"ports": [
|
|
{
|
|
"containerPort": 80,
|
|
"name": "http",
|
|
"protocol": "TCP"
|
|
},
|
|
{
|
|
"containerPort": 40,
|
|
"name": "https",
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"resources": {
|
|
"limits": {
|
|
"memory": "100Mi"
|
|
}
|
|
},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File"
|
|
},
|
|
{
|
|
"image": "spurin/idle:latest",
|
|
"imagePullPolicy": "Always",
|
|
"name": "idle",
|
|
"ports": [
|
|
{
|
|
"containerPort": 8080,
|
|
"name": "web",
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"resources": {
|
|
"limits": {
|
|
"memory": "100Mi"
|
|
}
|
|
},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File"
|
|
}
|
|
],
|
|
"dnsPolicy": "ClusterFirst",
|
|
"restartPolicy": "Always",
|
|
"schedulerName": "default-scheduler",
|
|
"securityContext": {},
|
|
"terminationGracePeriodSeconds": 30
|
|
}
|
|
}
|
|
}
|
|
} |