"Fossies" - the Fresh Open Source Software Archive

Member "kubernetes-1.17.12/staging/src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-apply-edit-last-applied-syntax-error/0.response" (16 Sep 2020, 1222 Bytes) of package /linux/misc/kubernetes-1.17.12.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2     "kind": "Service",
    3     "apiVersion": "v1",
    4     "metadata": {
    5         "name": "svc1",
    6         "namespace": "myproject",
    7         "selfLink": "/api/v1/namespaces/myproject/services/svc1",
    8         "uid": "1e16d988-3d72-11e7-8ef0-c85b76034b7b",
    9         "resourceVersion": "3731",
   10         "creationTimestamp": "2017-05-20T15:36:39Z",
   11         "labels": {
   12             "app": "svc1",
   13             "new-label": "foo"
   14         },
   15         "annotations": {
   16             "kubectl.kubernetes.io/last-applied-configuration": "{\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"labels\":{\"app\":\"svc1\",\"new-label\":\"foo\"},\"name\":\"svc1\",\"namespace\":\"myproject\"},\"spec\":{\"ports\":[{\"name\":\"80\",\"port\":81,\"protocol\":\"TCP\",\"targetPort\":81}],\"sessionAffinity\":\"None\",\"type\":\"ClusterIP\"},\"status\":{\"loadBalancer\":{}}}\n"
   17         }
   18     },
   19     "spec": {
   20         "ports": [
   21             {
   22                 "name": "80",
   23                 "protocol": "TCP",
   24                 "port": 81,
   25                 "targetPort": 81
   26             }
   27         ],
   28         "clusterIP": "172.30.105.209",
   29         "type": "ClusterIP",
   30         "sessionAffinity": "None"
   31     },
   32     "status": {
   33         "loadBalancer": {}
   34     }
   35 }