Difference between revisions of "Kubectl get apiservices"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
  [[kubectl get]] [[apiservices]]
 
  [[kubectl get]] [[apiservices]]
  
== EKS ==
+
== [[Play with K8s]] ==
 +
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]] ==
 
  NAME                                  SERVICE  AVAILABLE  AGE
 
  NAME                                  SERVICE  AVAILABLE  AGE
 
  v1.                                    Local    True        22d
 
  v1.                                    Local    True        22d
Line 96: Line 123:
 
== Related commands ==
 
== Related commands ==
 
* <code>[[kubectl get services]]</code>
 
* <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]

Advertising: