diff --git a/.changeset/sharp-rice-tickle.md b/.changeset/sharp-rice-tickle.md
new file mode 100644
index 0000000000..6104e11e75
--- /dev/null
+++ b/.changeset/sharp-rice-tickle.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-kubernetes-react': patch
+---
+
+Add a namespace label to RolloutDrawer
diff --git a/plugins/kubernetes-react/src/components/CustomResources/ArgoRollouts/Rollout.test.tsx b/plugins/kubernetes-react/src/components/CustomResources/ArgoRollouts/Rollout.test.tsx
index 00063afa99..a4748cdae7 100644
--- a/plugins/kubernetes-react/src/components/CustomResources/ArgoRollouts/Rollout.test.tsx
+++ b/plugins/kubernetes-react/src/components/CustomResources/ArgoRollouts/Rollout.test.tsx
@@ -35,6 +35,7 @@ describe('Rollout', () => {
expect(screen.getByText('dice-roller')).toBeInTheDocument();
expect(screen.getByText('Rollout')).toBeInTheDocument();
+ expect(screen.getByText('namespace: default')).toBeInTheDocument();
expect(screen.getByText('2 pods')).toBeInTheDocument();
expect(screen.getByText('No pods with errors')).toBeInTheDocument();
expect(screen.queryByText('Paused')).toBeNull();
@@ -52,6 +53,7 @@ describe('Rollout', () => {
expect(screen.getByText('dice-roller')).toBeInTheDocument();
expect(screen.getByText('Rollout')).toBeInTheDocument();
+ expect(screen.getByText('namespace: default')).toBeInTheDocument();
expect(screen.getByText('2 pods')).toBeInTheDocument();
expect(screen.getByText('1 pod with errors')).toBeInTheDocument();
expect(screen.queryByText('Paused')).toBeNull();
@@ -71,6 +73,7 @@ describe('Rollout', () => {
expect(screen.getByText('dice-roller')).toBeInTheDocument();
expect(screen.getByText('Rollout')).toBeInTheDocument();
+ expect(screen.getByText('namespace: default')).toBeInTheDocument();
expect(screen.getByText('2 pods')).toBeInTheDocument();
expect(screen.getByText('No pods with errors')).toBeInTheDocument();
expect(screen.getByText('Paused (45 minutes ago)')).toBeInTheDocument();
@@ -90,6 +93,7 @@ describe('Rollout', () => {
expect(screen.getByText('dice-roller')).toBeInTheDocument();
expect(screen.getByText('Rollout')).toBeInTheDocument();
+ expect(screen.getByText('namespace: default')).toBeInTheDocument();
expect(screen.getByText('2 pods')).toBeInTheDocument();
expect(screen.getByText('No pods with errors')).toBeInTheDocument();
expect(screen.queryByText('Paused')).toBeNull();
diff --git a/plugins/kubernetes-react/src/components/CustomResources/ArgoRollouts/RolloutDrawer.tsx b/plugins/kubernetes-react/src/components/CustomResources/ArgoRollouts/RolloutDrawer.tsx
index 304c8bdf78..65d4840bf0 100644
--- a/plugins/kubernetes-react/src/components/CustomResources/ArgoRollouts/RolloutDrawer.tsx
+++ b/plugins/kubernetes-react/src/components/CustomResources/ArgoRollouts/RolloutDrawer.tsx
@@ -18,6 +18,7 @@ import React from 'react';
import { KubernetesStructuredMetadataTableDrawer } from '../../KubernetesDrawer';
import Typography from '@material-ui/core/Typography';
import Grid from '@material-ui/core/Grid';
+import Chip from '@material-ui/core/Chip';
export const RolloutDrawer = ({
rollout,
@@ -26,6 +27,7 @@ export const RolloutDrawer = ({
rollout: any;
expanded?: boolean;
}) => {
+ const namespace = rollout.metadata?.namespace;
return (
+ {namespace && (
+
+
+
+ )}
);
diff --git a/plugins/kubernetes/dev/index.tsx b/plugins/kubernetes/dev/index.tsx
index fbc666ae13..2de5a17f25 100644
--- a/plugins/kubernetes/dev/index.tsx
+++ b/plugins/kubernetes/dev/index.tsx
@@ -33,6 +33,7 @@ import fixture1 from '../src/__fixtures__/1-deployments.json';
import fixture2 from '../src/__fixtures__/2-deployments.json';
import fixture3 from '../src/__fixtures__/1-cronjobs.json';
import fixture4 from '../src/__fixtures__/2-cronjobs.json';
+import fixture5 from '../src/__fixtures__/1-rollouts.json';
import { TestApiProvider } from '@backstage/test-utils';
const mockEntity: Entity = {
@@ -186,5 +187,18 @@ createDevApp()
),
})
+ .addPage({
+ path: '/fixture-5',
+ title: 'Fixture 5',
+ element: (
+
+
+
+
+
+ ),
+ })
.registerPlugin(kubernetesPlugin)
.render();
diff --git a/plugins/kubernetes/src/__fixtures__/1-rollouts.json b/plugins/kubernetes/src/__fixtures__/1-rollouts.json
new file mode 100644
index 0000000000..66929b9129
--- /dev/null
+++ b/plugins/kubernetes/src/__fixtures__/1-rollouts.json
@@ -0,0 +1,2908 @@
+{
+ "pods": [
+ {
+ "metadata": {
+ "creationTimestamp": "2020-09-25T09:58:50.000Z",
+ "generateName": "dice-roller-6c8646bfd-",
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:generateName": {},
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"5126c354-4310-4e23-a9e4-c9b87cb69792\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:enableServiceLinks": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:50.000Z"
+ },
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:status": {
+ "f:conditions": {
+ "k:{\"type\":\"ContainersReady\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Initialized\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Ready\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ }
+ },
+ "f:containerStatuses": {},
+ "f:hostIP": {},
+ "f:phase": {},
+ "f:podIP": {},
+ "f:podIPs": {
+ ".": {},
+ "k:{\"ip\":\"172.17.0.11\"}": {
+ ".": {},
+ "f:ip": {}
+ }
+ },
+ "f:startTime": {}
+ }
+ },
+ "manager": "kubelet",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:55.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd-2m5hv",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "ReplicaSet",
+ "name": "dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ }
+ ],
+ "resourceVersion": "593216",
+ "selfLink": "/api/v1/namespaces/default/pods/dice-roller-6c8646bfd-2m5hv",
+ "uid": "aadb71c0-36fa-43e3-b38a-162f134d4359"
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File",
+ "volumeMounts": [
+ {
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
+ "name": "default-token-5gctn",
+ "readOnly": true
+ }
+ ]
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "enableServiceLinks": true,
+ "nodeName": "minikube",
+ "priority": 0,
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "serviceAccount": "default",
+ "serviceAccountName": "default",
+ "terminationGracePeriodSeconds": 30,
+ "tolerations": [
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/not-ready",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ },
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/unreachable",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ }
+ ],
+ "volumes": [
+ {
+ "name": "default-token-5gctn",
+ "secret": {
+ "defaultMode": 420,
+ "secretName": "default-token-5gctn"
+ }
+ }
+ ]
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "Initialized"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "status": "True",
+ "type": "Ready"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "status": "True",
+ "type": "ContainersReady"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "PodScheduled"
+ }
+ ],
+ "containerStatuses": [
+ {
+ "containerID": "docker://aa4489297c34c48bb33c18474a8d2b33854a82ed42155680b259f635f556ce70",
+ "image": "nginx:1.14.2",
+ "imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
+ "lastState": {},
+ "name": "nginx",
+ "ready": true,
+ "restartCount": 0,
+ "started": true,
+ "state": {
+ "running": {
+ "startedAt": "2020-09-25T09:58:53.000Z"
+ }
+ }
+ }
+ ],
+ "hostIP": "192.168.64.2",
+ "phase": "Running",
+ "podIP": "172.17.0.11",
+ "podIPs": [
+ {
+ "ip": "172.17.0.11"
+ }
+ ],
+ "qosClass": "BestEffort",
+ "startTime": "2020-09-25T09:58:50.000Z"
+ }
+ },
+ {
+ "metadata": {
+ "creationTimestamp": "2020-09-25T09:58:50.000Z",
+ "generateName": "dice-roller-6c8646bfd-",
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:generateName": {},
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"5126c354-4310-4e23-a9e4-c9b87cb69792\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:enableServiceLinks": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:50.000Z"
+ },
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:status": {
+ "f:conditions": {
+ "k:{\"type\":\"ContainersReady\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Initialized\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Ready\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ }
+ },
+ "f:containerStatuses": {},
+ "f:hostIP": {},
+ "f:phase": {},
+ "f:podIP": {},
+ "f:podIPs": {
+ ".": {},
+ "k:{\"ip\":\"172.17.0.7\"}": {
+ ".": {},
+ "f:ip": {}
+ }
+ },
+ "f:startTime": {}
+ }
+ },
+ "manager": "kubelet",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:55.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd-4v6s8",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "ReplicaSet",
+ "name": "dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ }
+ ],
+ "resourceVersion": "593221",
+ "selfLink": "/api/v1/namespaces/default/pods/dice-roller-6c8646bfd-4v6s8",
+ "uid": "32e56490-6f20-4757-991f-a0c7fb407358"
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File",
+ "volumeMounts": [
+ {
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
+ "name": "default-token-5gctn",
+ "readOnly": true
+ }
+ ]
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "enableServiceLinks": true,
+ "nodeName": "minikube",
+ "priority": 0,
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "serviceAccount": "default",
+ "serviceAccountName": "default",
+ "terminationGracePeriodSeconds": 30,
+ "tolerations": [
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/not-ready",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ },
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/unreachable",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ }
+ ],
+ "volumes": [
+ {
+ "name": "default-token-5gctn",
+ "secret": {
+ "defaultMode": 420,
+ "secretName": "default-token-5gctn"
+ }
+ }
+ ]
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "Initialized"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "status": "True",
+ "type": "Ready"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "status": "True",
+ "type": "ContainersReady"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "PodScheduled"
+ }
+ ],
+ "containerStatuses": [
+ {
+ "containerID": "docker://d91cc76c41249b8d3dfcf538d180b471b2a7966aae0d17a818307c8a9b4af897",
+ "image": "nginx:1.14.2",
+ "imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
+ "lastState": {},
+ "name": "nginx",
+ "ready": true,
+ "restartCount": 0,
+ "started": true,
+ "state": {
+ "running": {
+ "startedAt": "2020-09-25T09:58:53.000Z"
+ }
+ }
+ }
+ ],
+ "hostIP": "192.168.64.2",
+ "phase": "Running",
+ "podIP": "172.17.0.7",
+ "podIPs": [
+ {
+ "ip": "172.17.0.7"
+ }
+ ],
+ "qosClass": "BestEffort",
+ "startTime": "2020-09-25T09:58:50.000Z"
+ }
+ },
+ {
+ "metadata": {
+ "creationTimestamp": "2020-09-24T11:39:26.000Z",
+ "generateName": "dice-roller-6c8646bfd-",
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:generateName": {},
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"5126c354-4310-4e23-a9e4-c9b87cb69792\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:enableServiceLinks": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-24T11:39:26.000Z"
+ },
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:status": {
+ "f:conditions": {
+ "k:{\"type\":\"ContainersReady\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Initialized\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Ready\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ }
+ },
+ "f:containerStatuses": {},
+ "f:hostIP": {},
+ "f:phase": {},
+ "f:podIP": {},
+ "f:podIPs": {
+ ".": {},
+ "k:{\"ip\":\"172.17.0.6\"}": {
+ ".": {},
+ "f:ip": {}
+ }
+ },
+ "f:startTime": {}
+ }
+ },
+ "manager": "kubelet",
+ "operation": "Update",
+ "time": "2020-09-24T11:39:27.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd-b9zt5",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "ReplicaSet",
+ "name": "dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ }
+ ],
+ "resourceVersion": "503886",
+ "selfLink": "/api/v1/namespaces/default/pods/dice-roller-6c8646bfd-b9zt5",
+ "uid": "8b6601b6-469e-4e89-8fd0-abb2f1a567e4"
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File",
+ "volumeMounts": [
+ {
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
+ "name": "default-token-5gctn",
+ "readOnly": true
+ }
+ ]
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "enableServiceLinks": true,
+ "nodeName": "minikube",
+ "priority": 0,
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "serviceAccount": "default",
+ "serviceAccountName": "default",
+ "terminationGracePeriodSeconds": 30,
+ "tolerations": [
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/not-ready",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ },
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/unreachable",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ }
+ ],
+ "volumes": [
+ {
+ "name": "default-token-5gctn",
+ "secret": {
+ "defaultMode": 420,
+ "secretName": "default-token-5gctn"
+ }
+ }
+ ]
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-24T11:39:26.000Z",
+ "status": "True",
+ "type": "Initialized"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-24T11:39:27.000Z",
+ "status": "True",
+ "type": "Ready"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-24T11:39:27.000Z",
+ "status": "True",
+ "type": "ContainersReady"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-24T11:39:26.000Z",
+ "status": "True",
+ "type": "PodScheduled"
+ }
+ ],
+ "containerStatuses": [
+ {
+ "containerID": "docker://c50e0d0fa96f09a2ed5df7dd5a7f7de88e6b7c7addb8f002f299d6afc52d82ce",
+ "image": "nginx:1.14.2",
+ "imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
+ "lastState": {},
+ "name": "nginx",
+ "ready": true,
+ "restartCount": 0,
+ "started": true,
+ "state": {
+ "running": {
+ "startedAt": "2020-09-24T11:39:27.000Z"
+ }
+ }
+ }
+ ],
+ "hostIP": "192.168.64.2",
+ "phase": "Running",
+ "podIP": "172.17.0.6",
+ "podIPs": [
+ {
+ "ip": "172.17.0.6"
+ }
+ ],
+ "qosClass": "BestEffort",
+ "startTime": "2020-09-24T11:39:26.000Z"
+ }
+ },
+ {
+ "metadata": {
+ "creationTimestamp": "2020-09-25T09:58:50.000Z",
+ "generateName": "dice-roller-6c8646bfd-",
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:generateName": {},
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"5126c354-4310-4e23-a9e4-c9b87cb69792\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:enableServiceLinks": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:50.000Z"
+ },
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:status": {
+ "f:conditions": {
+ "k:{\"type\":\"ContainersReady\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Initialized\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Ready\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ }
+ },
+ "f:containerStatuses": {},
+ "f:hostIP": {},
+ "f:phase": {},
+ "f:podIP": {},
+ "f:podIPs": {
+ ".": {},
+ "k:{\"ip\":\"172.17.0.13\"}": {
+ ".": {},
+ "f:ip": {}
+ }
+ },
+ "f:startTime": {}
+ }
+ },
+ "manager": "kubelet",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:55.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd-cfxqc",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "ReplicaSet",
+ "name": "dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ }
+ ],
+ "resourceVersion": "593211",
+ "selfLink": "/api/v1/namespaces/default/pods/dice-roller-6c8646bfd-cfxqc",
+ "uid": "e87e1776-0ca7-41fb-aeea-e1f648387545"
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File",
+ "volumeMounts": [
+ {
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
+ "name": "default-token-5gctn",
+ "readOnly": true
+ }
+ ]
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "enableServiceLinks": true,
+ "nodeName": "minikube",
+ "priority": 0,
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "serviceAccount": "default",
+ "serviceAccountName": "default",
+ "terminationGracePeriodSeconds": 30,
+ "tolerations": [
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/not-ready",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ },
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/unreachable",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ }
+ ],
+ "volumes": [
+ {
+ "name": "default-token-5gctn",
+ "secret": {
+ "defaultMode": 420,
+ "secretName": "default-token-5gctn"
+ }
+ }
+ ]
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:51.000Z",
+ "status": "True",
+ "type": "Initialized"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "status": "True",
+ "type": "Ready"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "status": "True",
+ "type": "ContainersReady"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "PodScheduled"
+ }
+ ],
+ "containerStatuses": [
+ {
+ "containerID": "docker://c1641d986aae424429b7c2c1117baeb17d3794f73206bd57292cdf8264f929b2",
+ "image": "nginx:1.14.2",
+ "imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
+ "lastState": {},
+ "name": "nginx",
+ "ready": true,
+ "restartCount": 0,
+ "started": true,
+ "state": {
+ "running": {
+ "startedAt": "2020-09-25T09:58:53.000Z"
+ }
+ }
+ }
+ ],
+ "hostIP": "192.168.64.2",
+ "phase": "Running",
+ "podIP": "172.17.0.13",
+ "podIPs": [
+ {
+ "ip": "172.17.0.13"
+ }
+ ],
+ "qosClass": "BestEffort",
+ "startTime": "2020-09-25T09:58:51.000Z"
+ }
+ },
+ {
+ "metadata": {
+ "creationTimestamp": "2020-09-25T09:58:50.000Z",
+ "generateName": "dice-roller-6c8646bfd-",
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:generateName": {},
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"5126c354-4310-4e23-a9e4-c9b87cb69792\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:enableServiceLinks": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:50.000Z"
+ },
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:status": {
+ "f:conditions": {
+ "k:{\"type\":\"ContainersReady\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Initialized\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Ready\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ }
+ },
+ "f:containerStatuses": {},
+ "f:hostIP": {},
+ "f:phase": {},
+ "f:podIP": {},
+ "f:podIPs": {
+ ".": {},
+ "k:{\"ip\":\"172.17.0.15\"}": {
+ ".": {},
+ "f:ip": {}
+ }
+ },
+ "f:startTime": {}
+ }
+ },
+ "manager": "kubelet",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:54.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd-dtv5z",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "ReplicaSet",
+ "name": "dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ }
+ ],
+ "resourceVersion": "593190",
+ "selfLink": "/api/v1/namespaces/default/pods/dice-roller-6c8646bfd-dtv5z",
+ "uid": "1638a41b-e47e-4c17-a1f7-7b447df248b6"
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File",
+ "volumeMounts": [
+ {
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
+ "name": "default-token-5gctn",
+ "readOnly": true
+ }
+ ]
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "enableServiceLinks": true,
+ "nodeName": "minikube",
+ "priority": 0,
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "serviceAccount": "default",
+ "serviceAccountName": "default",
+ "terminationGracePeriodSeconds": 30,
+ "tolerations": [
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/not-ready",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ },
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/unreachable",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ }
+ ],
+ "volumes": [
+ {
+ "name": "default-token-5gctn",
+ "secret": {
+ "defaultMode": 420,
+ "secretName": "default-token-5gctn"
+ }
+ }
+ ]
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:51.000Z",
+ "status": "True",
+ "type": "Initialized"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:53.000Z",
+ "status": "True",
+ "type": "Ready"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:53.000Z",
+ "status": "True",
+ "type": "ContainersReady"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "PodScheduled"
+ }
+ ],
+ "containerStatuses": [
+ {
+ "containerID": "docker://e62c32db58dbfe0a74b2d2cba0e0a97b7f222693c68e930037ac8738c4758ca3",
+ "image": "nginx:1.14.2",
+ "imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
+ "lastState": {},
+ "name": "nginx",
+ "ready": true,
+ "restartCount": 0,
+ "started": true,
+ "state": {
+ "running": {
+ "startedAt": "2020-09-25T09:58:53.000Z"
+ }
+ }
+ }
+ ],
+ "hostIP": "192.168.64.2",
+ "phase": "Running",
+ "podIP": "172.17.0.15",
+ "podIPs": [
+ {
+ "ip": "172.17.0.15"
+ }
+ ],
+ "qosClass": "BestEffort",
+ "startTime": "2020-09-25T09:58:51.000Z"
+ }
+ },
+ {
+ "metadata": {
+ "creationTimestamp": "2020-09-25T09:58:50.000Z",
+ "generateName": "dice-roller-6c8646bfd-",
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:generateName": {},
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"5126c354-4310-4e23-a9e4-c9b87cb69792\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:enableServiceLinks": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:50.000Z"
+ },
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:status": {
+ "f:conditions": {
+ "k:{\"type\":\"ContainersReady\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Initialized\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Ready\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ }
+ },
+ "f:containerStatuses": {},
+ "f:hostIP": {},
+ "f:phase": {},
+ "f:podIP": {},
+ "f:podIPs": {
+ ".": {},
+ "k:{\"ip\":\"172.17.0.12\"}": {
+ ".": {},
+ "f:ip": {}
+ }
+ },
+ "f:startTime": {}
+ }
+ },
+ "manager": "kubelet",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:53.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd-hhts2",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "ReplicaSet",
+ "name": "dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ }
+ ],
+ "resourceVersion": "593186",
+ "selfLink": "/api/v1/namespaces/default/pods/dice-roller-6c8646bfd-hhts2",
+ "uid": "ea0b147a-c56a-46e6-9445-7a0b1b0ed3c0"
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File",
+ "volumeMounts": [
+ {
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
+ "name": "default-token-5gctn",
+ "readOnly": true
+ }
+ ]
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "enableServiceLinks": true,
+ "nodeName": "minikube",
+ "priority": 0,
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "serviceAccount": "default",
+ "serviceAccountName": "default",
+ "terminationGracePeriodSeconds": 30,
+ "tolerations": [
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/not-ready",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ },
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/unreachable",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ }
+ ],
+ "volumes": [
+ {
+ "name": "default-token-5gctn",
+ "secret": {
+ "defaultMode": 420,
+ "secretName": "default-token-5gctn"
+ }
+ }
+ ]
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "Initialized"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:53.000Z",
+ "status": "True",
+ "type": "Ready"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:53.000Z",
+ "status": "True",
+ "type": "ContainersReady"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "PodScheduled"
+ }
+ ],
+ "containerStatuses": [
+ {
+ "containerID": "docker://bcdbc153630f90556d57ff0d62f04d847ca63a5f0a7e5d9230683623d33d4b8d",
+ "image": "nginx:1.14.2",
+ "imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
+ "lastState": {},
+ "name": "nginx",
+ "ready": true,
+ "restartCount": 0,
+ "started": true,
+ "state": {
+ "running": {
+ "startedAt": "2020-09-25T09:58:53.000Z"
+ }
+ }
+ }
+ ],
+ "hostIP": "192.168.64.2",
+ "phase": "Running",
+ "podIP": "172.17.0.12",
+ "podIPs": [
+ {
+ "ip": "172.17.0.12"
+ }
+ ],
+ "qosClass": "BestEffort",
+ "startTime": "2020-09-25T09:58:50.000Z"
+ }
+ },
+ {
+ "metadata": {
+ "creationTimestamp": "2020-09-25T09:58:50.000Z",
+ "generateName": "dice-roller-6c8646bfd-",
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:generateName": {},
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"5126c354-4310-4e23-a9e4-c9b87cb69792\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:enableServiceLinks": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:50.000Z"
+ },
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:status": {
+ "f:conditions": {
+ "k:{\"type\":\"ContainersReady\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Initialized\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Ready\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ }
+ },
+ "f:containerStatuses": {},
+ "f:hostIP": {},
+ "f:phase": {},
+ "f:podIP": {},
+ "f:podIPs": {
+ ".": {},
+ "k:{\"ip\":\"172.17.0.14\"}": {
+ ".": {},
+ "f:ip": {}
+ }
+ },
+ "f:startTime": {}
+ }
+ },
+ "manager": "kubelet",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:55.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd-j68lm",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "ReplicaSet",
+ "name": "dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ }
+ ],
+ "resourceVersion": "593226",
+ "selfLink": "/api/v1/namespaces/default/pods/dice-roller-6c8646bfd-j68lm",
+ "uid": "b230ff1d-7a13-479b-9c7b-77c26bd79f62"
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File",
+ "volumeMounts": [
+ {
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
+ "name": "default-token-5gctn",
+ "readOnly": true
+ }
+ ]
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "enableServiceLinks": true,
+ "nodeName": "minikube",
+ "priority": 0,
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "serviceAccount": "default",
+ "serviceAccountName": "default",
+ "terminationGracePeriodSeconds": 30,
+ "tolerations": [
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/not-ready",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ },
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/unreachable",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ }
+ ],
+ "volumes": [
+ {
+ "name": "default-token-5gctn",
+ "secret": {
+ "defaultMode": 420,
+ "secretName": "default-token-5gctn"
+ }
+ }
+ ]
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "Initialized"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "status": "True",
+ "type": "Ready"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "status": "True",
+ "type": "ContainersReady"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "PodScheduled"
+ }
+ ],
+ "containerStatuses": [
+ {
+ "containerID": "docker://30fa8a3429f86ab8e9a4cec472b79d74266609082703f48950f4aae021e9d6a2",
+ "image": "nginx:1.14.2",
+ "imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
+ "lastState": {},
+ "name": "nginx",
+ "ready": true,
+ "restartCount": 0,
+ "started": true,
+ "state": {
+ "running": {
+ "startedAt": "2020-09-25T09:58:53.000Z"
+ }
+ }
+ }
+ ],
+ "hostIP": "192.168.64.2",
+ "phase": "Running",
+ "podIP": "172.17.0.14",
+ "podIPs": [
+ {
+ "ip": "172.17.0.14"
+ }
+ ],
+ "qosClass": "BestEffort",
+ "startTime": "2020-09-25T09:58:50.000Z"
+ }
+ },
+ {
+ "metadata": {
+ "creationTimestamp": "2020-09-25T09:58:50.000Z",
+ "generateName": "dice-roller-6c8646bfd-",
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:generateName": {},
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"5126c354-4310-4e23-a9e4-c9b87cb69792\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:enableServiceLinks": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:50.000Z"
+ },
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:status": {
+ "f:conditions": {
+ "k:{\"type\":\"ContainersReady\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Initialized\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Ready\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ }
+ },
+ "f:containerStatuses": {},
+ "f:hostIP": {},
+ "f:phase": {},
+ "f:podIP": {},
+ "f:podIPs": {
+ ".": {},
+ "k:{\"ip\":\"172.17.0.9\"}": {
+ ".": {},
+ "f:ip": {}
+ }
+ },
+ "f:startTime": {}
+ }
+ },
+ "manager": "kubelet",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:53.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd-m6f9w",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "ReplicaSet",
+ "name": "dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ }
+ ],
+ "resourceVersion": "593181",
+ "selfLink": "/api/v1/namespaces/default/pods/dice-roller-6c8646bfd-m6f9w",
+ "uid": "9b0079f6-ff29-4619-bf6e-71cc10199ac5"
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File",
+ "volumeMounts": [
+ {
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
+ "name": "default-token-5gctn",
+ "readOnly": true
+ }
+ ]
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "enableServiceLinks": true,
+ "nodeName": "minikube",
+ "priority": 0,
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "serviceAccount": "default",
+ "serviceAccountName": "default",
+ "terminationGracePeriodSeconds": 30,
+ "tolerations": [
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/not-ready",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ },
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/unreachable",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ }
+ ],
+ "volumes": [
+ {
+ "name": "default-token-5gctn",
+ "secret": {
+ "defaultMode": 420,
+ "secretName": "default-token-5gctn"
+ }
+ }
+ ]
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "Initialized"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:53.000Z",
+ "status": "True",
+ "type": "Ready"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:53.000Z",
+ "status": "True",
+ "type": "ContainersReady"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "PodScheduled"
+ }
+ ],
+ "containerStatuses": [
+ {
+ "containerID": "docker://f78767ee90eedffe46ff64bfe76d7f69426800dd89f3df012daf0baf3a9c5bdd",
+ "image": "nginx:1.14.2",
+ "imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
+ "lastState": {},
+ "name": "nginx",
+ "ready": true,
+ "restartCount": 0,
+ "started": true,
+ "state": {
+ "running": {
+ "startedAt": "2020-09-25T09:58:53.000Z"
+ }
+ }
+ }
+ ],
+ "hostIP": "192.168.64.2",
+ "phase": "Running",
+ "podIP": "172.17.0.9",
+ "podIPs": [
+ {
+ "ip": "172.17.0.9"
+ }
+ ],
+ "qosClass": "BestEffort",
+ "startTime": "2020-09-25T09:58:50.000Z"
+ }
+ },
+ {
+ "metadata": {
+ "creationTimestamp": "2020-09-24T11:39:27.000Z",
+ "generateName": "dice-roller-6c8646bfd-",
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:generateName": {},
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"5126c354-4310-4e23-a9e4-c9b87cb69792\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:enableServiceLinks": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-24T11:39:27.000Z"
+ },
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:status": {
+ "f:conditions": {
+ "k:{\"type\":\"ContainersReady\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Initialized\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Ready\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ }
+ },
+ "f:containerStatuses": {},
+ "f:hostIP": {},
+ "f:phase": {},
+ "f:podIP": {},
+ "f:podIPs": {
+ ".": {},
+ "k:{\"ip\":\"172.17.0.4\"}": {
+ ".": {},
+ "f:ip": {}
+ }
+ },
+ "f:startTime": {}
+ }
+ },
+ "manager": "kubelet",
+ "operation": "Update",
+ "time": "2020-09-24T11:39:28.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd-nv9pk",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "ReplicaSet",
+ "name": "dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ }
+ ],
+ "resourceVersion": "503918",
+ "selfLink": "/api/v1/namespaces/default/pods/dice-roller-6c8646bfd-nv9pk",
+ "uid": "acf7f77f-78c6-4d4b-bc73-637211770ffc"
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File",
+ "volumeMounts": [
+ {
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
+ "name": "default-token-5gctn",
+ "readOnly": true
+ }
+ ]
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "enableServiceLinks": true,
+ "nodeName": "minikube",
+ "priority": 0,
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "serviceAccount": "default",
+ "serviceAccountName": "default",
+ "terminationGracePeriodSeconds": 30,
+ "tolerations": [
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/not-ready",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ },
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/unreachable",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ }
+ ],
+ "volumes": [
+ {
+ "name": "default-token-5gctn",
+ "secret": {
+ "defaultMode": 420,
+ "secretName": "default-token-5gctn"
+ }
+ }
+ ]
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-24T11:39:27.000Z",
+ "status": "True",
+ "type": "Initialized"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-24T11:39:28.000Z",
+ "status": "True",
+ "type": "Ready"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-24T11:39:28.000Z",
+ "status": "True",
+ "type": "ContainersReady"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-24T11:39:27.000Z",
+ "status": "True",
+ "type": "PodScheduled"
+ }
+ ],
+ "containerStatuses": [
+ {
+ "containerID": "docker://63dec9b32942c4b09ae43d09d6978261f674a3ee623823b8f1d20da8044c12ac",
+ "image": "nginx:1.14.2",
+ "imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
+ "lastState": {},
+ "name": "nginx",
+ "ready": true,
+ "restartCount": 0,
+ "started": true,
+ "state": {
+ "running": {
+ "startedAt": "2020-09-24T11:39:28.000Z"
+ }
+ }
+ }
+ ],
+ "hostIP": "192.168.64.2",
+ "phase": "Running",
+ "podIP": "172.17.0.4",
+ "podIPs": [
+ {
+ "ip": "172.17.0.4"
+ }
+ ],
+ "qosClass": "BestEffort",
+ "startTime": "2020-09-24T11:39:27.000Z"
+ }
+ },
+ {
+ "metadata": {
+ "creationTimestamp": "2020-09-25T09:58:50.000Z",
+ "generateName": "dice-roller-6c8646bfd-",
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:generateName": {},
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"5126c354-4310-4e23-a9e4-c9b87cb69792\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:enableServiceLinks": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:50.000Z"
+ },
+ {
+ "apiVersion": "v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:status": {
+ "f:conditions": {
+ "k:{\"type\":\"ContainersReady\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Initialized\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ },
+ "k:{\"type\":\"Ready\"}": {
+ ".": {},
+ "f:lastProbeTime": {},
+ "f:lastTransitionTime": {},
+ "f:status": {},
+ "f:type": {}
+ }
+ },
+ "f:containerStatuses": {},
+ "f:hostIP": {},
+ "f:phase": {},
+ "f:podIP": {},
+ "f:podIPs": {
+ ".": {},
+ "k:{\"ip\":\"172.17.0.10\"}": {
+ ".": {},
+ "f:ip": {}
+ }
+ },
+ "f:startTime": {}
+ }
+ },
+ "manager": "kubelet",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:55.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd-pjhfj",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "ReplicaSet",
+ "name": "dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ }
+ ],
+ "resourceVersion": "593205",
+ "selfLink": "/api/v1/namespaces/default/pods/dice-roller-6c8646bfd-pjhfj",
+ "uid": "78775c3a-7af2-4ebe-a676-bc2e5dfa2bcc"
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File",
+ "volumeMounts": [
+ {
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
+ "name": "default-token-5gctn",
+ "readOnly": true
+ }
+ ]
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "enableServiceLinks": true,
+ "nodeName": "minikube",
+ "priority": 0,
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "serviceAccount": "default",
+ "serviceAccountName": "default",
+ "terminationGracePeriodSeconds": 30,
+ "tolerations": [
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/not-ready",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ },
+ {
+ "effect": "NoExecute",
+ "key": "node.kubernetes.io/unreachable",
+ "operator": "Exists",
+ "tolerationSeconds": 300
+ }
+ ],
+ "volumes": [
+ {
+ "name": "default-token-5gctn",
+ "secret": {
+ "defaultMode": 420,
+ "secretName": "default-token-5gctn"
+ }
+ }
+ ]
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "Initialized"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "status": "True",
+ "type": "Ready"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "status": "True",
+ "type": "ContainersReady"
+ },
+ {
+ "lastProbeTime": null,
+ "lastTransitionTime": "2020-09-25T09:58:50.000Z",
+ "status": "True",
+ "type": "PodScheduled"
+ }
+ ],
+ "containerStatuses": [
+ {
+ "containerID": "docker://cbb83dda250db74285dcbe0b81bd0896acf402bac9710af090311f7360f824aa",
+ "image": "nginx:1.14.2",
+ "imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
+ "lastState": {},
+ "name": "nginx",
+ "ready": true,
+ "restartCount": 0,
+ "started": true,
+ "state": {
+ "running": {
+ "startedAt": "2020-09-25T09:58:53.000Z"
+ }
+ }
+ }
+ ],
+ "hostIP": "192.168.64.2",
+ "phase": "Running",
+ "podIP": "172.17.0.10",
+ "podIPs": [
+ {
+ "ip": "172.17.0.10"
+ }
+ ],
+ "qosClass": "BestEffort",
+ "startTime": "2020-09-25T09:58:50.000Z"
+ }
+ }
+ ],
+ "replicaSets": [
+ {
+ "metadata": {
+ "annotations": {
+ "deployment.kubernetes.io/desired-replicas": "10",
+ "deployment.kubernetes.io/max-replicas": "13",
+ "deployment.kubernetes.io/revision": "2"
+ },
+ "creationTimestamp": "2020-09-24T11:39:26.000Z",
+ "generation": 3,
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "apps/v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:annotations": {
+ ".": {},
+ "f:deployment.kubernetes.io/desired-replicas": {},
+ "f:deployment.kubernetes.io/max-replicas": {},
+ "f:deployment.kubernetes.io/revision": {}
+ },
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ },
+ "f:ownerReferences": {
+ ".": {},
+ "k:{\"uid\":\"7551e949-42d1-4061-83c5-9da107186e47\"}": {
+ ".": {},
+ "f:apiVersion": {},
+ "f:blockOwnerDeletion": {},
+ "f:controller": {},
+ "f:kind": {},
+ "f:name": {},
+ "f:uid": {}
+ }
+ }
+ },
+ "f:spec": {
+ "f:replicas": {},
+ "f:selector": {
+ "f:matchLabels": {
+ ".": {},
+ "f:app": {},
+ "f:pod-template-hash": {}
+ }
+ },
+ "f:template": {
+ "f:metadata": {
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {},
+ "f:pod-template-hash": {}
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ }
+ },
+ "f:status": {
+ "f:availableReplicas": {},
+ "f:fullyLabeledReplicas": {},
+ "f:observedGeneration": {},
+ "f:readyReplicas": {},
+ "f:replicas": {}
+ }
+ },
+ "manager": "kube-controller-manager",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:55.000Z"
+ }
+ ],
+ "name": "dice-roller-6c8646bfd",
+ "namespace": "default",
+ "ownerReferences": [
+ {
+ "apiVersion": "apps/v1",
+ "blockOwnerDeletion": true,
+ "controller": true,
+ "kind": "Deployment",
+ "name": "dice-roller",
+ "uid": "7551e949-42d1-4061-83c5-9da107186e47"
+ }
+ ],
+ "resourceVersion": "593228",
+ "selfLink": "/apis/apps/v1/namespaces/default/replicasets/dice-roller-6c8646bfd",
+ "uid": "5126c354-4310-4e23-a9e4-c9b87cb69792"
+ },
+ "spec": {
+ "replicas": 10,
+ "selector": {
+ "matchLabels": {
+ "app": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ }
+ },
+ "template": {
+ "metadata": {
+ "creationTimestamp": null,
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller",
+ "pod-template-hash": "6c8646bfd"
+ }
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File"
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "terminationGracePeriodSeconds": 30
+ }
+ }
+ },
+ "status": {
+ "availableReplicas": 10,
+ "fullyLabeledReplicas": 10,
+ "observedGeneration": 3,
+ "readyReplicas": 10,
+ "replicas": 10
+ }
+ }
+ ],
+ "customResources": [
+ {
+ "apiVersion": "argoproj.io/v1alpha1",
+ "kind": "Rollout",
+ "metadata": {
+ "annotations": {
+ "deployment.kubernetes.io/revision": "2",
+ "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{},\"labels\":{\"backstage.io/kubernetes-id\":\"dice-roller\"},\"name\":\"dice-roller\",\"namespace\":\"default\"},\"spec\":{\"replicas\":10,\"selector\":{\"matchLabels\":{\"app\":\"dice-roller\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"dice-roller\",\"backstage.io/kubernetes-id\":\"dice-roller\"}},\"spec\":{\"containers\":[{\"image\":\"nginx:1.14.2\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80}]}]}}}}\n"
+ },
+ "creationTimestamp": "2020-09-23T12:00:55.000Z",
+ "generation": 3,
+ "labels": {
+ "backstage.io/kubernetes-id": "dice-roller"
+ },
+ "managedFields": [
+ {
+ "apiVersion": "apps/v1",
+ "fieldsType": "FieldsV1",
+ "fieldsV1": {
+ "f:metadata": {
+ "f:annotations": {
+ ".": {},
+ "f:kubectl.kubernetes.io/last-applied-configuration": {}
+ },
+ "f:labels": {
+ ".": {},
+ "f:backstage.io/kubernetes-id": {}
+ }
+ },
+ "f:spec": {
+ "f:progressDeadlineSeconds": {},
+ "f:replicas": {},
+ "f:revisionHistoryLimit": {},
+ "f:selector": {
+ "f:matchLabels": {
+ ".": {},
+ "f:app": {}
+ }
+ },
+ "f:strategy": {
+ "f:rollingUpdate": {
+ ".": {},
+ "f:maxSurge": {},
+ "f:maxUnavailable": {}
+ },
+ "f:type": {}
+ },
+ "f:template": {
+ "f:metadata": {
+ "f:labels": {
+ ".": {},
+ "f:app": {},
+ "f:backstage.io/kubernetes-id": {}
+ }
+ },
+ "f:spec": {
+ "f:containers": {
+ "k:{\"name\":\"nginx\"}": {
+ ".": {},
+ "f:image": {},
+ "f:imagePullPolicy": {},
+ "f:name": {},
+ "f:ports": {
+ ".": {},
+ "k:{\"containerPort\":80,\"protocol\":\"TCP\"}": {
+ ".": {},
+ "f:containerPort": {},
+ "f:protocol": {}
+ }
+ },
+ "f:resources": {},
+ "f:terminationMessagePath": {},
+ "f:terminationMessagePolicy": {}
+ }
+ },
+ "f:dnsPolicy": {},
+ "f:restartPolicy": {},
+ "f:schedulerName": {},
+ "f:securityContext": {},
+ "f:terminationGracePeriodSeconds": {}
+ }
+ }
+ }
+ },
+ "manager": "kubectl",
+ "operation": "Update",
+ "time": "2020-09-25T09:58:50.000Z"
+ },
+ {
+ "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",
+ "time": "2020-09-25T09:58:55.000Z"
+ }
+ ],
+ "name": "dice-roller",
+ "namespace": "default",
+ "resourceVersion": "593230",
+ "selfLink": "/apis/apps/v1/namespaces/default/deployments/dice-roller",
+ "uid": "7551e949-42d1-4061-83c5-9da107186e47"
+ },
+ "spec": {
+ "progressDeadlineSeconds": 600,
+ "replicas": 10,
+ "revisionHistoryLimit": 10,
+ "selector": {
+ "matchLabels": {
+ "app": "dice-roller"
+ }
+ },
+ "strategy": {
+ "rollingUpdate": {
+ "maxSurge": "25%",
+ "maxUnavailable": "25%"
+ },
+ "type": "RollingUpdate"
+ },
+ "template": {
+ "metadata": {
+ "creationTimestamp": null,
+ "labels": {
+ "app": "dice-roller",
+ "backstage.io/kubernetes-id": "dice-roller"
+ }
+ },
+ "spec": {
+ "containers": [
+ {
+ "image": "nginx:1.14.2",
+ "imagePullPolicy": "IfNotPresent",
+ "name": "nginx",
+ "ports": [
+ {
+ "containerPort": 80,
+ "protocol": "TCP"
+ }
+ ],
+ "resources": {},
+ "terminationMessagePath": "/dev/termination-log",
+ "terminationMessagePolicy": "File"
+ }
+ ],
+ "dnsPolicy": "ClusterFirst",
+ "restartPolicy": "Always",
+ "schedulerName": "default-scheduler",
+ "securityContext": {},
+ "terminationGracePeriodSeconds": 30
+ }
+ }
+ },
+ "status": {
+ "availableReplicas": 10,
+ "conditions": [
+ {
+ "lastTransitionTime": "2020-09-23T12:00:55.000Z",
+ "lastUpdateTime": "2020-09-24T11:39:28.000Z",
+ "message": "ReplicaSet \"dice-roller-6c8646bfd\" has successfully progressed.",
+ "reason": "NewReplicaSetAvailable",
+ "status": "True",
+ "type": "Progressing"
+ },
+ {
+ "lastTransitionTime": "2020-09-25T09:58:55.000Z",
+ "lastUpdateTime": "2020-09-25T09:58:55.000Z",
+ "message": "Deployment has minimum availability.",
+ "reason": "MinimumReplicasAvailable",
+ "status": "True",
+ "type": "Available"
+ }
+ ],
+ "observedGeneration": 3,
+ "readyReplicas": 10,
+ "replicas": 10,
+ "updatedReplicas": 10
+ }
+ }
+ ],
+ "horizontalPodAutoscalers": [
+ {
+ "apiVersion": "autoscaling/v2",
+ "kind": "HorizontalPodAutoscaler",
+ "metadata": {
+ "annotations": {},
+ "creationTimestamp": "2024-02-13T20:13:52Z",
+ "labels": {
+ "backstage.io/kubernetes-id": "dice-roller"
+ },
+ "name": "dice-roller",
+ "namespace": "default",
+ "resourceVersion": "6717s736",
+ "uid": "a34c90e1-8e8f-407f-b4c5-b4543bd56c1b"
+ },
+ "spec": {
+ "maxReplicas": 2,
+ "metrics": [
+ {
+ "resource": {
+ "name": "cpu",
+ "target": {
+ "averageUtilization": 50,
+ "type": "Utilization"
+ }
+ },
+ "type": "Resource"
+ }
+ ],
+ "minReplicas": 1,
+ "scaleTargetRef": {
+ "apiVersion": "apps/v1",
+ "kind": "Deployment",
+ "name": "dice-roller"
+ }
+ },
+ "status": {
+ "conditions": [
+ {
+ "lastTransitionTime": "2024-05-17T19:50:35Z",
+ "message": "recent recommendations were higher than current one, applying the highest recent recommendation",
+ "reason": "ScaleDownStabilized",
+ "status": "True",
+ "type": "AbleToScale"
+ },
+ {
+ "lastTransitionTime": "2024-05-16T06:21:01Z",
+ "message": "the HPA was able to successfully calculate a replica count from cpu resource utilization (percentage of request)",
+ "reason": "ValidMetricFound",
+ "status": "True",
+ "type": "ScalingActive"
+ },
+ {
+ "lastTransitionTime": "2024-05-16T06:21:01Z",
+ "message": "the desired replica count is more than the maximum replica count",
+ "reason": "TooManyReplicas",
+ "status": "True",
+ "type": "ScalingLimited"
+ }
+ ],
+ "currentMetrics": [
+ {
+ "resource": {
+ "current": {
+ "averageUtilization": 100,
+ "averageValue": "50m",
+ "value": "100m"
+ },
+ "name": "cpu"
+ },
+ "type": "Resource"
+ }
+ ],
+ "currentReplicas": 2,
+ "desiredReplicas": 2,
+ "lastScaleTime": "2024-02-13T20:14:23Z"
+ }
+ }
+ ]
+}