Difference between revisions of "Kubectl get apiservices"
Jump to navigation
Jump to search
(Created page with " Minikube output: <pre> kubectl get apiservices NAME SERVICE AVAILABLE AGE v1. Local True...") |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | [[kubectl get]] [[apiservices]] | ||
+ | == [[Play with K8s]] == | ||
+ | 21 | ||
− | [[Minikube]] output | + | kubectl get apiservices && kubectl get apiservices | tail -n +2 | wc -l |
− | <pre> | + | NAME SERVICE AVAILABLE AGE |
− | + | v1. Local True 22m | |
+ | v1.[[admissionregistration.k8s.io]] Local True 22m | ||
+ | v1.apiextensions.k8s.io Local True 22m | ||
+ | v1.apps Local True 22m | ||
+ | v1.authentication.k8s.io Local True 22m | ||
+ | v1.authorization.k8s.io Local True 22m | ||
+ | v1.autoscaling Local True 22m | ||
+ | v1.batch Local True 22m | ||
+ | v1.certificates.k8s.io Local True 22m | ||
+ | v1.coordination.k8s.io Local True 22m | ||
+ | v1.discovery.k8s.io Local True 22m | ||
+ | v1.events.k8s.io Local True 22m | ||
+ | v1.networking.k8s.io Local True 22m | ||
+ | v1.node.k8s.io Local True 22m | ||
+ | v1.policy Local True 22m | ||
+ | v1.rbac.authorization.k8s.io Local True 22m | ||
+ | v1.scheduling.k8s.io Local True 22m | ||
+ | v1.storage.k8s.io Local True 22m | ||
+ | v1beta2.flowcontrol.apiserver.k8s.io Local True 22m | ||
+ | v1beta3.flowcontrol.apiserver.k8s.io Local True 22m | ||
+ | v2.autoscaling Local True 22m | ||
+ | |||
+ | == [[EKS]] == | ||
+ | NAME SERVICE AVAILABLE AGE | ||
+ | v1. Local True 22d | ||
+ | v1.acme.[[cert-manager]].io Local True 15d | ||
+ | v1.admissionregistration.k8s.io Local True 22d | ||
+ | v1.apiextensions.k8s.io Local True 22d | ||
+ | v1.apps Local True 22d | ||
+ | v1.authentication.k8s.io Local True 22d | ||
+ | v1.authorization.k8s.io Local True 22d | ||
+ | v1.autoscaling Local True 22d | ||
+ | v1.batch Local True 22d | ||
+ | v1.cert-manager.io Local True 15d | ||
+ | v1.certificates.k8s.io Local True 22d | ||
+ | v1.coordination.k8s.io Local True 22d | ||
+ | v1.discovery.k8s.io Local True 22d | ||
+ | v1.events.k8s.io Local True 22d | ||
+ | v1.externaldns.nginx.org Local True 15d | ||
+ | v1.k8s.nginx.org Local True 15d | ||
+ | v1.networking.k8s.io Local True 22d | ||
+ | v1.node.k8s.io Local True 22d | ||
+ | v1.policy Local True 22d | ||
+ | v1.rbac.authorization.k8s.io Local True 22d | ||
+ | v1.scheduling.k8s.io Local True 22d | ||
+ | v1.storage.k8s.io Local True 22d | ||
+ | v1alpha1.crd.k8s.amazonaws.com Local True 22d | ||
+ | v1alpha1.k8s.nginx.org Local True 15d | ||
+ | v1alpha2.acme.cert-manager.io Local True 15d | ||
+ | v1alpha2.cert-manager.io Local True 15d | ||
+ | v1alpha3.acme.cert-manager.io Local True 15d | ||
+ | v1alpha3.cert-manager.io Local True 15d | ||
+ | v1beta1.acme.cert-manager.io Local True 15d | ||
+ | v1beta1.admissionregistration.k8s.io Local True 22d | ||
+ | v1beta1.apiextensions.k8s.io Local True 22d | ||
+ | v1beta1.appprotect.f5.com Local True 15d | ||
+ | v1beta1.appprotectdos.f5.com Local True 15d | ||
+ | v1beta1.authentication.k8s.io Local True 22d | ||
+ | v1beta1.authorization.k8s.io Local True 22d | ||
+ | v1beta1.batch Local True 22d | ||
+ | v1beta1.cert-manager.io Local True 15d | ||
+ | v1beta1.certificates.k8s.io Local True 22d | ||
+ | v1beta1.coordination.k8s.io Local True 22d | ||
+ | v1beta1.discovery.k8s.io Local True 22d | ||
+ | v1beta1.events.k8s.io Local True 22d | ||
+ | v1beta1.extensions Local True 22d | ||
+ | v1beta1.flowcontrol.apiserver.k8s.io Local True 22d | ||
+ | v1beta1.networking.k8s.io Local True 22d | ||
+ | v1beta1.node.k8s.io Local True 22d | ||
+ | v1beta1.policy Local True 22d | ||
+ | v1beta1.rbac.authorization.k8s.io Local True 22d | ||
+ | v1beta1.scheduling.k8s.io Local True 22d | ||
+ | v1beta1.storage.k8s.io Local True 22d | ||
+ | v1beta1.vpcresources.k8s.aws Local True 22d | ||
+ | v2beta1.autoscaling Local True 22d | ||
+ | v2beta2.autoscaling Local True 22d | ||
+ | |||
+ | == [[Minikube]] output == | ||
+ | [[kubectl get]] apiservices | ||
+ | <pre> | ||
NAME SERVICE AVAILABLE AGE | NAME SERVICE AVAILABLE AGE | ||
v1. Local True 10m | v1. Local True 10m | ||
Line 37: | Line 120: | ||
v2beta2.autoscaling Local True 10m | v2beta2.autoscaling Local True 10m | ||
</pre> | </pre> | ||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[kubectl get services]]</code> | ||
+ | * [[Kubernetes info]] | ||
+ | * <code>[[kubectl api-resources]]</code> | ||
== See also == | == See also == | ||
* {{kubectl get}} | * {{kubectl get}} | ||
+ | * {{Kubernetes API}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 11:17, 20 March 2024
kubectl get apiservices
Play with K8s[edit]
21
kubectl get apiservices && kubectl get apiservices | tail -n +2 | wc -l NAME SERVICE AVAILABLE AGE v1. Local True 22m v1.admissionregistration.k8s.io Local True 22m v1.apiextensions.k8s.io Local True 22m v1.apps Local True 22m v1.authentication.k8s.io Local True 22m v1.authorization.k8s.io Local True 22m v1.autoscaling Local True 22m v1.batch Local True 22m v1.certificates.k8s.io Local True 22m v1.coordination.k8s.io Local True 22m v1.discovery.k8s.io Local True 22m v1.events.k8s.io Local True 22m v1.networking.k8s.io Local True 22m v1.node.k8s.io Local True 22m v1.policy Local True 22m v1.rbac.authorization.k8s.io Local True 22m v1.scheduling.k8s.io Local True 22m v1.storage.k8s.io Local True 22m v1beta2.flowcontrol.apiserver.k8s.io Local True 22m v1beta3.flowcontrol.apiserver.k8s.io Local True 22m v2.autoscaling Local True 22m
EKS[edit]
NAME SERVICE AVAILABLE AGE v1. Local True 22d v1.acme.cert-manager.io Local True 15d v1.admissionregistration.k8s.io Local True 22d v1.apiextensions.k8s.io Local True 22d v1.apps Local True 22d v1.authentication.k8s.io Local True 22d v1.authorization.k8s.io Local True 22d v1.autoscaling Local True 22d v1.batch Local True 22d v1.cert-manager.io Local True 15d v1.certificates.k8s.io Local True 22d v1.coordination.k8s.io Local True 22d v1.discovery.k8s.io Local True 22d v1.events.k8s.io Local True 22d v1.externaldns.nginx.org Local True 15d v1.k8s.nginx.org Local True 15d v1.networking.k8s.io Local True 22d v1.node.k8s.io Local True 22d v1.policy Local True 22d v1.rbac.authorization.k8s.io Local True 22d v1.scheduling.k8s.io Local True 22d v1.storage.k8s.io Local True 22d v1alpha1.crd.k8s.amazonaws.com Local True 22d v1alpha1.k8s.nginx.org Local True 15d v1alpha2.acme.cert-manager.io Local True 15d v1alpha2.cert-manager.io Local True 15d v1alpha3.acme.cert-manager.io Local True 15d v1alpha3.cert-manager.io Local True 15d v1beta1.acme.cert-manager.io Local True 15d v1beta1.admissionregistration.k8s.io Local True 22d v1beta1.apiextensions.k8s.io Local True 22d v1beta1.appprotect.f5.com Local True 15d v1beta1.appprotectdos.f5.com Local True 15d v1beta1.authentication.k8s.io Local True 22d v1beta1.authorization.k8s.io Local True 22d v1beta1.batch Local True 22d v1beta1.cert-manager.io Local True 15d v1beta1.certificates.k8s.io Local True 22d v1beta1.coordination.k8s.io Local True 22d v1beta1.discovery.k8s.io Local True 22d v1beta1.events.k8s.io Local True 22d v1beta1.extensions Local True 22d v1beta1.flowcontrol.apiserver.k8s.io Local True 22d v1beta1.networking.k8s.io Local True 22d v1beta1.node.k8s.io Local True 22d v1beta1.policy Local True 22d v1beta1.rbac.authorization.k8s.io Local True 22d v1beta1.scheduling.k8s.io Local True 22d v1beta1.storage.k8s.io Local True 22d v1beta1.vpcresources.k8s.aws Local True 22d v2beta1.autoscaling Local True 22d v2beta2.autoscaling Local True 22d
Minikube output[edit]
kubectl get apiservices
NAME SERVICE AVAILABLE AGE v1. Local True 10m v1.admissionregistration.k8s.io Local True 10m v1.apiextensions.k8s.io Local True 10m v1.apps Local True 10m v1.authentication.k8s.io Local True 10m v1.authorization.k8s.io Local True 10m v1.autoscaling Local True 10m v1.batch Local True 10m v1.coordination.k8s.io Local True 10m v1.networking.k8s.io Local True 10m v1.rbac.authorization.k8s.io Local True 10m v1.scheduling.k8s.io Local True 10m v1.storage.k8s.io Local True 10m v1beta1.admissionregistration.k8s.io Local True 10m v1beta1.apiextensions.k8s.io Local True 10m v1beta1.authentication.k8s.io Local True 10m v1beta1.authorization.k8s.io Local True 10m v1beta1.batch Local True 10m v1beta1.certificates.k8s.io Local True 10m v1beta1.coordination.k8s.io Local True 10m v1beta1.discovery.k8s.io Local True 10m v1beta1.events.k8s.io Local True 10m v1beta1.extensions Local True 10m v1beta1.networking.k8s.io Local True 10m v1beta1.node.k8s.io Local True 10m v1beta1.policy Local True 10m v1beta1.rbac.authorization.k8s.io Local True 10m v1beta1.scheduling.k8s.io Local True 10m v1beta1.storage.k8s.io Local True 10m v2beta1.autoscaling Local True 10m v2beta2.autoscaling Local True 10m
Related commands[edit]
See also[edit]
kubectl get
: [all
|componentstatus | pods | apiservices | events
|event
|nodes
|replicaset
|services
|svc
|namespaces
|hpa
|secret | deployments | serviceaccounts | endpoints | daemonset | networkpolicy
],kubectl get -h
- Kubernetes API, Kubernetes API server, EKS API,
apiVersion:, kubectl api-resources, kubectl api-versions, kind:
, Kubernetes API endpoint, 6443, 10250 (kubelet)kube-apiserver
, /etc/kubernetes/manifests/kube-apiserver.yaml,valueFrom, /var/log/kube-apiserver.log, /api/v1/, k8s.io
Advertising: