...

Text file src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-list-errors/5.edited

Documentation: k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-list-errors

     1# Please edit the object below. Lines beginning with a '#' will be ignored,
     2# and an empty file will abort the edit. If an error occurs while saving this file will be
     3# reopened with the relevant failures.
     4#
     5# services "svc1" was not valid:
     6# * spec.clusterIP: Invalid value: "10.0.0.10": field is immutable
     7# * spec.ports[0].protocol: Unsupported value: "VHF": supported values: TCP, UDP, SCTP
     8#
     9apiVersion: v1
    10items:
    11- apiVersion: v1
    12  kind: Service
    13  metadata:
    14    creationTimestamp: "2017-02-03T06:11:32Z"
    15    labels:
    16      app: svc1
    17      newvalue: modified
    18    name: svc1
    19    namespace: edit-test
    20    resourceVersion: "1904"
    21    selfLink: /api/v1/namespaces/edit-test/services/svc1
    22    uid: 9bec82be-e9d7-11e6-8c3b-acbc32c1ca87
    23  spec:
    24    clusterIP: 10.0.0.248
    25    ports:
    26    - name: "80"
    27      port: 83
    28      protocol: VHF
    29      targetPort: 81
    30    sessionAffinity: None
    31    type: ClusterIP
    32  status:
    33    loadBalancer: {}
    34- apiVersion: v1
    35  data:
    36    baz: qux
    37    foo: changed-value2
    38  kind: ConfigMap
    39  metadata:
    40    creationTimestamp: "2017-02-03T06:12:07Z"
    41    name: cm1
    42    namespace: edit-test
    43    resourceVersion: "1903"
    44    selfLink: /api/v1/namespaces/edit-test/configmaps/cm1
    45    uid: b09bffab-e9d7-11e6-8c3b-acbc32c1ca87
    46kind: List
    47metadata: {}

View as plain text