Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "kind": "Pod",
- "apiVersion": "v1",
- "metadata": {
- "name": "linux-octopus-image-ssh-fpv80",
- "namespace": "default",
- "selfLink": "/api/v1/namespaces/default/pods/linux-octopus-image-ssh-fpv80",
- "uid": "c1e40145-7cc9-11e9-84a5-ba0a808578be",
- "resourceVersion": "2682629",
- "creationTimestamp": "2019-05-22T19:42:39Z",
- "labels": {
- "app": "jenkins-agent"
- }
- },
- "spec": {
- "volumes": [
- {
- "name": "default-token-bc7hz",
- "secret": {
- "secretName": "<token>",
- "defaultMode": 420
- }
- }
- ],
- "containers": [
- {
- "name": "linux-octopus-image-ssh-fpv80",
- "image": "<image>",
- "ports": [
- {
- "containerPort": 22,
- "protocol": "TCP"
- }
- ],
- "env": [
- {
- "name": "JENKINS_SLAVE_SSH_PUBKEY",
- "value": "<pubkey>"
- },
- {
- "name": "JAVA_TOOL_OPTIONS",
- "value": "-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:+UseParallelGC -Xmx128m"
- },
- {
- "name": "KUBERNETES_PORT_443_TCP_ADDR",
- "value": "<kube_host>"
- },
- {
- "name": "KUBERNETES_PORT",
- "value": "<kube_host>"
- },
- {
- "name": "KUBERNETES_PORT_443_TCP",
- "value": "<kube_host>"
- },
- {
- "name": "KUBERNETES_SERVICE_HOST",
- "value": "<kube_host>"
- }
- ],
- "resources": {
- "requests": {
- "cpu": "1200m",
- "memory": "8Gi"
- }
- },
- "volumeMounts": [
- {
- "name": "<token>",
- "readOnly": true,
- "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
- }
- ],
- "terminationMessagePath": "/dev/termination-log",
- "terminationMessagePolicy": "File",
- "imagePullPolicy": "Always",
- "securityContext": {
- "privileged": false,
- "procMount": "Default"
- }
- }
- ],
- "restartPolicy": "Never",
- "terminationGracePeriodSeconds": 30,
- "dnsPolicy": "ClusterFirst",
- "serviceAccountName": "default",
- "serviceAccount": "default",
- "nodeName": "aks-agentpool-19896651-0",
- "securityContext": {},
- "schedulerName": "default-scheduler",
- "tolerations": [
- {
- "key": "node.kubernetes.io/not-ready",
- "operator": "Exists",
- "effect": "NoExecute",
- "tolerationSeconds": 300
- },
- {
- "key": "node.kubernetes.io/unreachable",
- "operator": "Exists",
- "effect": "NoExecute",
- "tolerationSeconds": 300
- }
- ],
- "priority": 0,
- "enableServiceLinks": true
- },
- "status": {
- "phase": "Running",
- "conditions": [
- {
- "type": "Initialized",
- "status": "True",
- "lastProbeTime": null,
- "lastTransitionTime": "2019-05-22T19:42:39Z"
- },
- {
- "type": "Ready",
- "status": "True",
- "lastProbeTime": null,
- "lastTransitionTime": "2019-05-22T19:42:42Z"
- },
- {
- "type": "ContainersReady",
- "status": "True",
- "lastProbeTime": null,
- "lastTransitionTime": "2019-05-22T19:42:42Z"
- },
- {
- "type": "PodScheduled",
- "status": "True",
- "lastProbeTime": null,
- "lastTransitionTime": "2019-05-22T19:42:39Z"
- }
- ],
- "hostIP": "10.0.3.6",
- "podIP": "10.0.3.26",
- "startTime": "2019-05-22T19:42:39Z",
- "containerStatuses": [
- {
- "name": "linux-octopus-image-ssh-fpv80",
- "state": {
- "running": {
- "startedAt": "2019-05-22T19:42:42Z"
- }
- },
- "lastState": {},
- "ready": true,
- "restartCount": 0,
- "image": "<image>",
- "imageID": "<imageId>",
- "containerID": "<containerId>"
- }
- ],
- "qosClass": "Burstable"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement