May 2018
Intermediate to advanced
554 pages
13h 51m
English
If you go through every command in this section, there are definitely some demonstrated Kubernetes Services (we counted six of them) that should be removed. To delete a Service, the same as with any other Kubernetes resource, you can remove the Service with the name or the configuration file through the subcommand delete. When you try to remove the Service and the Endpoint at the same time, the following situation will happen:
// the resource abbreviation of endpoint is "ep", separate different resource types by comma$ kubectl delete svc,ep k8s-epservice "k8s-ep" deletedError from server (NotFound): endpoints "k8s-ep" not found
This is because a Service is also a Kubernetes Endpoint. That's why, although we created the ...
Read now
Unlock full access