...

Text file src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-repeat-error/3.edited

Documentation: k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-repeat-error

     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 "kubernetes" was not valid:
     6# * spec.clusterIP: Invalid value: "10.0.0.1.1": field is immutable
     7# * spec.clusterIP: Invalid value: "10.0.0.1.1": must be empty, 'None', or a valid IP address
     8#
     9apiVersion: v1
    10kind: Service
    11metadata:
    12  creationTimestamp: "2017-02-12T20:11:19Z"
    13  labels:
    14    component: apiserver
    15    provider: kubernetes
    16  name: kubernetes
    17  namespace: default
    18  resourceVersion: "8"
    19  selfLink: /api/v1/namespaces/default/services/kubernetes
    20  uid: 6a8e8829-f15f-11e6-b041-acbc32c1ca87
    21spec:
    22  clusterIP: 10.0.0.1.1
    23  ports:
    24  - name: https
    25    port: 443
    26    protocol: TCP
    27    targetPort: 443
    28  sessionAffinity: ClientIP
    29  type: ClusterIP
    30status:
    31  loadBalancer: {}

View as plain text