...

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

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

     1{
     2	"kind": "Status",
     3	"apiVersion": "v1",
     4	"metadata": {},
     5	"status": "Failure",
     6	"message": "Service \"svc1\" is invalid: spec.ports[0].protocol: Unsupported value: \"VHF\": supported values: TCP, UDP, SCTP",
     7	"reason": "Invalid",
     8	"details": {
     9		"name": "svc1",
    10		"kind": "Service",
    11		"causes": [
    12			{
    13				"reason": "FieldValueNotSupported",
    14				"message": "Unsupported value: \"VHF\": supported values: TCP, UDP, SCTP",
    15				"field": "spec.ports[0].protocol"
    16			}
    17		]
    18	},
    19	"code": 422
    20}

View as plain text