forked from mtusi2026/mtusi2026lab3
668 lines
20 KiB
JSON
668 lines
20 KiB
JSON
{
|
|
"apiVersion": "v1",
|
|
"items": [
|
|
{
|
|
"apiVersion": "v1",
|
|
"kind": "Pod",
|
|
"metadata": {
|
|
"annotations": {
|
|
"checksum/config": "25be752194917b470e363f8148d7f90539ac1e677c53d10066d788634e0933dc",
|
|
"cni.projectcalico.org/containerID": "c9f317c330be89a87aabd36ab90ea573f7472d51084b1e685eb5b11362a91557",
|
|
"cni.projectcalico.org/podIP": "10.1.25.114/32",
|
|
"cni.projectcalico.org/podIPs": "10.1.25.114/32",
|
|
"kubectl.kubernetes.io/restartedAt": "2026-10-16T11:50:37+03:00"
|
|
},
|
|
"creationTimestamp": "2026-10-29T10:53:14Z",
|
|
"generateName": "api-54f7cc6f98-",
|
|
"generation": 1,
|
|
"labels": {
|
|
"app": "api",
|
|
"pod-template-hash": "54f7cc6f98"
|
|
},
|
|
"name": "api-54f7cc6f98-7c56z",
|
|
"namespace": "highload-applications",
|
|
"ownerReferences": [
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"blockOwnerDeletion": true,
|
|
"controller": true,
|
|
"kind": "ReplicaSet",
|
|
"name": "api-54f7cc6f98",
|
|
"uid": "9a9710e1-f5e8-456c-a8d9-6a6a06fe4839"
|
|
}
|
|
],
|
|
"resourceVersion": "60154912",
|
|
"uid": "9ba114d8-8300-4035-8f6e-4a488ef1b88e"
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"env": [
|
|
{
|
|
"name": "INSTANCE_ID",
|
|
"valueFrom": {
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "metadata.name"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "CURSOR_SIGNING_KEY",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"key": "cursor-key",
|
|
"name": "messenger-secrets"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "DATABASE_URL",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"key": "database-url",
|
|
"name": "messenger-secrets"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"envFrom": [
|
|
{
|
|
"configMapRef": {
|
|
"name": "messenger-config"
|
|
}
|
|
}
|
|
],
|
|
"image": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"lifecycle": {
|
|
"preStop": {
|
|
"sleep": {
|
|
"seconds": 3
|
|
}
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"failureThreshold": 3,
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": 8080,
|
|
"scheme": "HTTP"
|
|
},
|
|
"periodSeconds": 5,
|
|
"successThreshold": 1,
|
|
"timeoutSeconds": 1
|
|
},
|
|
"name": "api",
|
|
"ports": [
|
|
{
|
|
"containerPort": 8080,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"failureThreshold": 2,
|
|
"httpGet": {
|
|
"path": "/health/ready",
|
|
"port": 8080,
|
|
"scheme": "HTTP"
|
|
},
|
|
"periodSeconds": 2,
|
|
"successThreshold": 1,
|
|
"timeoutSeconds": 2
|
|
},
|
|
"resources": {
|
|
"limits": {
|
|
"cpu": "1",
|
|
"memory": "256Mi"
|
|
},
|
|
"requests": {
|
|
"cpu": "250m",
|
|
"memory": "128Mi"
|
|
}
|
|
},
|
|
"securityContext": {
|
|
"allowPrivilegeEscalation": false,
|
|
"capabilities": {
|
|
"drop": [
|
|
"ALL"
|
|
]
|
|
},
|
|
"readOnlyRootFilesystem": true
|
|
},
|
|
"startupProbe": {
|
|
"failureThreshold": 30,
|
|
"httpGet": {
|
|
"path": "/health/ready",
|
|
"port": 8080,
|
|
"scheme": "HTTP"
|
|
},
|
|
"periodSeconds": 2,
|
|
"successThreshold": 1,
|
|
"timeoutSeconds": 1
|
|
},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"volumeMounts": [
|
|
{
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
|
"name": "kube-api-access-ddq2s",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"dnsPolicy": "ClusterFirst",
|
|
"enableServiceLinks": true,
|
|
"imagePullSecrets": [
|
|
{
|
|
"name": "registry-pull"
|
|
}
|
|
],
|
|
"nodeName": "dev.asisti.tech",
|
|
"preemptionPolicy": "PreemptLowerPriority",
|
|
"priority": 0,
|
|
"restartPolicy": "Always",
|
|
"schedulerName": "default-scheduler",
|
|
"securityContext": {
|
|
"runAsNonRoot": true,
|
|
"runAsUser": 65532,
|
|
"seccompProfile": {
|
|
"type": "RuntimeDefault"
|
|
}
|
|
},
|
|
"serviceAccount": "default",
|
|
"serviceAccountName": "default",
|
|
"terminationGracePeriodSeconds": 20,
|
|
"tolerations": [
|
|
{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
},
|
|
{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}
|
|
],
|
|
"topologySpreadConstraints": [
|
|
{
|
|
"labelSelector": {
|
|
"matchLabels": {
|
|
"app": "api"
|
|
}
|
|
},
|
|
"maxSkew": 1,
|
|
"topologyKey": "kubernetes.io/hostname",
|
|
"whenUnsatisfiable": "ScheduleAnyway"
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "kube-api-access-ddq2s",
|
|
"projected": {
|
|
"defaultMode": 420,
|
|
"sources": [
|
|
{
|
|
"serviceAccountToken": {
|
|
"expirationSeconds": 3607,
|
|
"path": "token"
|
|
}
|
|
},
|
|
{
|
|
"configMap": {
|
|
"items": [
|
|
{
|
|
"key": "ca.crt",
|
|
"path": "ca.crt"
|
|
}
|
|
],
|
|
"name": "kube-root-ca.crt"
|
|
}
|
|
},
|
|
{
|
|
"downwardAPI": {
|
|
"items": [
|
|
{
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "metadata.namespace"
|
|
},
|
|
"path": "namespace"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"conditions": [
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2026-10-29T10:53:19Z",
|
|
"status": "True",
|
|
"type": "PodReadyToStartContainers"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2026-10-29T10:53:14Z",
|
|
"status": "True",
|
|
"type": "Initialized"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
|
"status": "True",
|
|
"type": "Ready"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
|
"status": "True",
|
|
"type": "ContainersReady"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2026-10-29T10:53:14Z",
|
|
"status": "True",
|
|
"type": "PodScheduled"
|
|
}
|
|
],
|
|
"containerStatuses": [
|
|
{
|
|
"allocatedResources": {
|
|
"cpu": "250m",
|
|
"memory": "128Mi"
|
|
},
|
|
"containerID": "containerd://4631cb93f41b3636e0662a05dae721ef528e603889d8bfb964d9988d33b4cd82",
|
|
"image": "sha256:9be8ec92531a22d2cef260b08669df6e8169d846aa47aaa709d50f1e602285cb",
|
|
"imageID": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
|
"lastState": {},
|
|
"name": "api",
|
|
"ready": true,
|
|
"resources": {
|
|
"limits": {
|
|
"cpu": "1",
|
|
"memory": "256Mi"
|
|
},
|
|
"requests": {
|
|
"cpu": "250m",
|
|
"memory": "128Mi"
|
|
}
|
|
},
|
|
"restartCount": 0,
|
|
"started": true,
|
|
"state": {
|
|
"running": {
|
|
"startedAt": "2026-10-29T10:53:33Z"
|
|
}
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
|
"name": "kube-api-access-ddq2s",
|
|
"readOnly": true,
|
|
"recursiveReadOnly": "Disabled"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"hostIP": "100.99.166.40",
|
|
"hostIPs": [
|
|
{
|
|
"ip": "100.99.166.40"
|
|
}
|
|
],
|
|
"phase": "Running",
|
|
"podIP": "10.1.25.114",
|
|
"podIPs": [
|
|
{
|
|
"ip": "10.1.25.114"
|
|
}
|
|
],
|
|
"qosClass": "Burstable",
|
|
"startTime": "2026-10-29T10:53:14Z"
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "v1",
|
|
"kind": "Pod",
|
|
"metadata": {
|
|
"annotations": {
|
|
"checksum/config": "25be752194917b470e363f8148d7f90539ac1e677c53d10066d788634e0933dc",
|
|
"cni.projectcalico.org/containerID": "64c7decc0fbadc6eb0b82c66ce1b69fc6e2ef13c27607b8b0cc621c1464300b0",
|
|
"cni.projectcalico.org/podIP": "10.1.112.79/32",
|
|
"cni.projectcalico.org/podIPs": "10.1.112.79/32",
|
|
"kubectl.kubernetes.io/restartedAt": "2026-10-16T11:50:37+03:00"
|
|
},
|
|
"creationTimestamp": "2026-10-29T10:53:35Z",
|
|
"generateName": "api-54f7cc6f98-",
|
|
"generation": 1,
|
|
"labels": {
|
|
"app": "api",
|
|
"pod-template-hash": "54f7cc6f98"
|
|
},
|
|
"name": "api-54f7cc6f98-txlh4",
|
|
"namespace": "highload-applications",
|
|
"ownerReferences": [
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"blockOwnerDeletion": true,
|
|
"controller": true,
|
|
"kind": "ReplicaSet",
|
|
"name": "api-54f7cc6f98",
|
|
"uid": "9a9710e1-f5e8-456c-a8d9-6a6a06fe4839"
|
|
}
|
|
],
|
|
"resourceVersion": "60154970",
|
|
"uid": "e9c4add7-fd67-4650-a4a2-29ca5b9fd550"
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"env": [
|
|
{
|
|
"name": "INSTANCE_ID",
|
|
"valueFrom": {
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "metadata.name"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "CURSOR_SIGNING_KEY",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"key": "cursor-key",
|
|
"name": "messenger-secrets"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "DATABASE_URL",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"key": "database-url",
|
|
"name": "messenger-secrets"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"envFrom": [
|
|
{
|
|
"configMapRef": {
|
|
"name": "messenger-config"
|
|
}
|
|
}
|
|
],
|
|
"image": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"lifecycle": {
|
|
"preStop": {
|
|
"sleep": {
|
|
"seconds": 3
|
|
}
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"failureThreshold": 3,
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": 8080,
|
|
"scheme": "HTTP"
|
|
},
|
|
"periodSeconds": 5,
|
|
"successThreshold": 1,
|
|
"timeoutSeconds": 1
|
|
},
|
|
"name": "api",
|
|
"ports": [
|
|
{
|
|
"containerPort": 8080,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"failureThreshold": 2,
|
|
"httpGet": {
|
|
"path": "/health/ready",
|
|
"port": 8080,
|
|
"scheme": "HTTP"
|
|
},
|
|
"periodSeconds": 2,
|
|
"successThreshold": 1,
|
|
"timeoutSeconds": 2
|
|
},
|
|
"resources": {
|
|
"limits": {
|
|
"cpu": "1",
|
|
"memory": "256Mi"
|
|
},
|
|
"requests": {
|
|
"cpu": "250m",
|
|
"memory": "128Mi"
|
|
}
|
|
},
|
|
"securityContext": {
|
|
"allowPrivilegeEscalation": false,
|
|
"capabilities": {
|
|
"drop": [
|
|
"ALL"
|
|
]
|
|
},
|
|
"readOnlyRootFilesystem": true
|
|
},
|
|
"startupProbe": {
|
|
"failureThreshold": 30,
|
|
"httpGet": {
|
|
"path": "/health/ready",
|
|
"port": 8080,
|
|
"scheme": "HTTP"
|
|
},
|
|
"periodSeconds": 2,
|
|
"successThreshold": 1,
|
|
"timeoutSeconds": 1
|
|
},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"volumeMounts": [
|
|
{
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
|
"name": "kube-api-access-mnrp5",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"dnsPolicy": "ClusterFirst",
|
|
"enableServiceLinks": true,
|
|
"imagePullSecrets": [
|
|
{
|
|
"name": "registry-pull"
|
|
}
|
|
],
|
|
"nodeName": "marlosrv0",
|
|
"preemptionPolicy": "PreemptLowerPriority",
|
|
"priority": 0,
|
|
"restartPolicy": "Always",
|
|
"schedulerName": "default-scheduler",
|
|
"securityContext": {
|
|
"runAsNonRoot": true,
|
|
"runAsUser": 65532,
|
|
"seccompProfile": {
|
|
"type": "RuntimeDefault"
|
|
}
|
|
},
|
|
"serviceAccount": "default",
|
|
"serviceAccountName": "default",
|
|
"terminationGracePeriodSeconds": 20,
|
|
"tolerations": [
|
|
{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
},
|
|
{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}
|
|
],
|
|
"topologySpreadConstraints": [
|
|
{
|
|
"labelSelector": {
|
|
"matchLabels": {
|
|
"app": "api"
|
|
}
|
|
},
|
|
"maxSkew": 1,
|
|
"topologyKey": "kubernetes.io/hostname",
|
|
"whenUnsatisfiable": "ScheduleAnyway"
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "kube-api-access-mnrp5",
|
|
"projected": {
|
|
"defaultMode": 420,
|
|
"sources": [
|
|
{
|
|
"serviceAccountToken": {
|
|
"expirationSeconds": 3607,
|
|
"path": "token"
|
|
}
|
|
},
|
|
{
|
|
"configMap": {
|
|
"items": [
|
|
{
|
|
"key": "ca.crt",
|
|
"path": "ca.crt"
|
|
}
|
|
],
|
|
"name": "kube-root-ca.crt"
|
|
}
|
|
},
|
|
{
|
|
"downwardAPI": {
|
|
"items": [
|
|
{
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "metadata.namespace"
|
|
},
|
|
"path": "namespace"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"conditions": [
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2026-10-29T10:53:39Z",
|
|
"status": "True",
|
|
"type": "PodReadyToStartContainers"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
|
"status": "True",
|
|
"type": "Initialized"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2026-10-29T10:53:40Z",
|
|
"status": "True",
|
|
"type": "Ready"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2026-10-29T10:53:40Z",
|
|
"status": "True",
|
|
"type": "ContainersReady"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2026-10-29T10:53:35Z",
|
|
"status": "True",
|
|
"type": "PodScheduled"
|
|
}
|
|
],
|
|
"containerStatuses": [
|
|
{
|
|
"allocatedResources": {
|
|
"cpu": "250m",
|
|
"memory": "128Mi"
|
|
},
|
|
"containerID": "containerd://dd8482e1e67dc153f5787894d4974b39d5e7fead678a7e6695974297d0b75591",
|
|
"image": "sha256:9be8ec92531a22d2cef260b08669df6e8169d846aa47aaa709d50f1e602285cb",
|
|
"imageID": "asisti.registry.twcstorage.ru/mtusi2026lab3@sha256:6f1cf88f0a53728819d0489804b4155942c1cc78596307e43f2adc2ad527f0e3",
|
|
"lastState": {},
|
|
"name": "api",
|
|
"ready": true,
|
|
"resources": {
|
|
"limits": {
|
|
"cpu": "1",
|
|
"memory": "256Mi"
|
|
},
|
|
"requests": {
|
|
"cpu": "250m",
|
|
"memory": "128Mi"
|
|
}
|
|
},
|
|
"restartCount": 0,
|
|
"started": true,
|
|
"state": {
|
|
"running": {
|
|
"startedAt": "2026-10-29T10:53:39Z"
|
|
}
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
|
"name": "kube-api-access-mnrp5",
|
|
"readOnly": true,
|
|
"recursiveReadOnly": "Disabled"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"hostIP": "192.168.1.37",
|
|
"hostIPs": [
|
|
{
|
|
"ip": "192.168.1.37"
|
|
}
|
|
],
|
|
"phase": "Running",
|
|
"podIP": "10.1.112.79",
|
|
"podIPs": [
|
|
{
|
|
"ip": "10.1.112.79"
|
|
}
|
|
],
|
|
"qosClass": "Burstable",
|
|
"startTime": "2026-10-29T10:53:35Z"
|
|
}
|
|
}
|
|
],
|
|
"kind": "List",
|
|
"metadata": {
|
|
"resourceVersion": ""
|
|
}
|
|
}
|