Editing Kubectl get all
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | |||
− | |||
− | |||
− | |||
[[kubectl get]] all | [[kubectl get]] all | ||
− | [[kubectl get | + | [[kubectl get]] all -A |
− | |||
− | |||
== Examples == | == Examples == | ||
[[kubectl get]] all | [[kubectl get]] all | ||
− | NAME TYPE | + | NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE |
− | [[service/kubernetes]] | + | [[service/kubernetes]] [ClusterIP]] 10.96.0.1 <none> 443/TCP 6m40s |
kubectl get all | kubectl get all | ||
Line 19: | Line 13: | ||
[[kubectl get]] all --all-[[namespaces]] | [[kubectl get]] all --all-[[namespaces]] | ||
+ | |||
+ | [[kubectl get]] all | ||
+ | The connection to the server localhost:8080 was refused - did you specify the right host or port? | ||
+ | |||
+ | Solution: Have you created your Kubernetes cluster <code>[[kubeadm init]]</code>? | ||
+ | |||
kubectl get all | kubectl get all | ||
Line 65: | Line 65: | ||
replicaset.apps/grafana-6d966d974b 1 1 0 3h31m | replicaset.apps/grafana-6d966d974b 1 1 0 3h31m | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related == | == Related == | ||
* <code>[[kubectl get namespaces]]</code> | * <code>[[kubectl get namespaces]]</code> | ||
* <code>[[kubectl cluster-info]]</code> | * <code>[[kubectl cluster-info]]</code> | ||
− | + | ||
− | + | [[statefulset.apps]] | |
− | + | [[replicaset.apps]] | |
− | + | [[deployment.apps]] | |
+ | [[service]] | ||
+ | [[pod]] | ||
+ | [[job.batch]] | ||
+ | [[cronjob.batch]] | ||
+ | [[daemonset.apps]] | ||
== See also == | == See also == | ||
* {{kubectl get}} | * {{kubectl get}} | ||
− | * {{ | + | * {{kubectl}} |
− | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Advertising: