Editing Kubectl api-resources

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 6: Line 6:
 
  kubectl api-resources | [[tail -n]] +2 | [[wc -l]]
 
  kubectl api-resources | [[tail -n]] +2 | [[wc -l]]
 
  130
 
  130
 
[[Play with K8s]]:
 
kubectl api-resources | tail -n +2 | wc -l
 
55
 
 
[[kubectl api-resources grep -i linkerd]]
 
  
 
  [[metrics.k8s.io]]
 
  [[metrics.k8s.io]]
Line 17: Line 11:
 
  [[status.gatekeeper.sh]]
 
  [[status.gatekeeper.sh]]
 
  [[k8s.nginx.org]]
 
  [[k8s.nginx.org]]
[[certificates.k8s.io]]
 
  
 
== [[EKS]]: kubectl api-resources ==
 
== [[EKS]]: kubectl api-resources ==
Line 92: Line 85:
 
  [[volumeattachments]]                              storage.k8s.io/v1                      false        VolumeAttachment
 
  [[volumeattachments]]                              storage.k8s.io/v1                      false        VolumeAttachment
 
  securitygrouppolicies            sgp          vpcresources.k8s.aws/v1beta1          true        SecurityGroupPolicy
 
  securitygrouppolicies            sgp          vpcresources.k8s.aws/v1beta1          true        SecurityGroupPolicy
 
== [[Play with K8s]] ==
 
 
NAME                              SHORTNAMES  APIVERSION                            NAMESPACED  KIND
 
bindings                                      v1                                    true        Binding
 
componentstatuses                cs          v1                                    false        ComponentStatus
 
configmaps                        cm          v1                                    true        ConfigMap
 
endpoints                        ep          v1                                    true        Endpoints
 
events                            ev          v1                                    true        Event
 
limitranges                      limits      v1                                    true        LimitRange
 
namespaces                        ns          v1                                    false        Namespace
 
nodes                            no          v1                                    false        Node
 
persistentvolumeclaims            pvc          v1                                    true        PersistentVolumeClaim
 
persistentvolumes                pv          v1                                    false        PersistentVolume
 
pods                              po          v1                                    true        Pod
 
podtemplates                                  v1                                    true        PodTemplate
 
replicationcontrollers            rc          v1                                    true        ReplicationController
 
resourcequotas                    quota        v1                                    true        ResourceQuota
 
secrets                                        v1                                    true        Secret
 
serviceaccounts                  sa          v1                                    true        ServiceAccount
 
services                          svc          v1                                    true        Service
 
mutatingwebhookconfigurations                  admissionregistration.k8s.io/v1        false        MutatingWebhookConfiguration
 
validatingwebhookconfigurations                admissionregistration.k8s.io/v1        false        ValidatingWebhookConfiguration
 
customresourcedefinitions        crd,crds    apiextensions.k8s.io/v1                false        CustomResourceDefinition
 
apiservices                                    apiregistration.k8s.io/v1              false        APIService
 
controllerrevisions                            apps/v1                                true        ControllerRevision
 
daemonsets                        ds          apps/v1                                true        DaemonSet
 
deployments                      deploy      apps/v1                                true        Deployment
 
replicasets                      rs          apps/v1                                true        ReplicaSet
 
statefulsets                      sts          apps/v1                                true        StatefulSet
 
tokenreviews                                  authentication.k8s.io/v1              false        TokenReview
 
localsubjectaccessreviews                      authorization.k8s.io/v1                true        LocalSubjectAccessReview
 
selfsubjectaccessreviews                      authorization.k8s.io/v1                false        SelfSubjectAccessReview
 
selfsubjectrulesreviews                        authorization.k8s.io/v1                false        SelfSubjectRulesReview
 
subjectaccessreviews                          authorization.k8s.io/v1                false        SubjectAccessReview
 
horizontalpodautoscalers          hpa          autoscaling/v2                        true        HorizontalPodAutoscaler
 
cronjobs                          cj          batch/v1                              true        CronJob
 
jobs                                          batch/v1                              true        Job
 
certificatesigningrequests        csr          certificates.k8s.io/v1                false        CertificateSigningRequest
 
leases                                        coordination.k8s.io/v1                true        Lease
 
endpointslices                                discovery.k8s.io/v1                    true        EndpointSlice
 
events                            ev          events.k8s.io/v1                      true        Event
 
flowschemas                                    flowcontrol.apiserver.k8s.io/v1beta3  false        FlowSchema
 
prioritylevelconfigurations                    flowcontrol.apiserver.k8s.io/v1beta3  false        PriorityLevelConfiguration
 
ingressclasses                                networking.k8s.io/v1                  false        IngressClass
 
ingresses                        ing          networking.k8s.io/v1                  true        Ingress
 
networkpolicies                  netpol      networking.k8s.io/v1                  true        NetworkPolicy
 
runtimeclasses                                node.k8s.io/v1                        false        RuntimeClass
 
poddisruptionbudgets              pdb          policy/v1                              true        PodDisruptionBudget
 
clusterrolebindings                            rbac.authorization.k8s.io/v1          false        ClusterRoleBinding
 
clusterroles                                  rbac.authorization.k8s.io/v1          false        ClusterRole
 
rolebindings                                  rbac.authorization.k8s.io/v1          true        RoleBinding
 
roles                                          rbac.authorization.k8s.io/v1          true        Role
 
priorityclasses                  pc          scheduling.k8s.io/v1                  false        PriorityClass
 
[[csidrivers]]                                    [[storage.k8s.io]]/v1                      false        CSIDriver
 
csinodes                                      storage.k8s.io/v1                      false        CSINode
 
csistoragecapacities                          storage.k8s.io/v1                      true        CSIStorageCapacity
 
storageclasses                    sc          storage.k8s.io/v1                      false        StorageClass
 
volumeattachments                              storage.k8s.io/v1                      false        VolumeAttachment
 
  
 
== [[Minikube]] ==
 
== [[Minikube]] ==
Line 172: Line 106:
 
  serviceaccounts                  sa                                          true        ServiceAccount
 
  serviceaccounts                  sa                                          true        ServiceAccount
 
  services                          svc                                        true        Service
 
  services                          svc                                        true        Service
  [[mutatingwebhookconfigurations]]                 [[admissionregistration.k8s.io]]   false        [[MutatingWebhookConfiguration]]
+
  mutatingwebhookconfigurations                  admissionregistration.k8s.io  false        MutatingWebhookConfiguration
  validatingwebhookconfigurations                admissionregistration.k8s.io  false        [[ValidatingWebhookConfiguration]]
+
  validatingwebhookconfigurations                admissionregistration.k8s.io  false        ValidatingWebhookConfiguration
 
  customresourcedefinitions        crd,crds    apiextensions.k8s.io          false        CustomResourceDefinition
 
  customresourcedefinitions        crd,crds    apiextensions.k8s.io          false        CustomResourceDefinition
 
  apiservices                                    apiregistration.k8s.io        false        APIService
 
  apiservices                                    apiregistration.k8s.io        false        APIService
Line 209: Line 143:
 
  storageclasses                    sc          storage.k8s.io                false        StorageClass
 
  storageclasses                    sc          storage.k8s.io                false        StorageClass
 
  volumeattachments                              storage.k8s.io                false        VolumeAttachment
 
  volumeattachments                              storage.k8s.io                false        VolumeAttachment
 +
  
 
== EKS: [[velero]] ==
 
== EKS: [[velero]] ==
Line 346: Line 281:
 
* <code>[[kubectl api-versions]]</code>
 
* <code>[[kubectl api-versions]]</code>
 
* <code>[[kubectl cluster-info dump]]</code>
 
* <code>[[kubectl cluster-info dump]]</code>
* <code>[[kubectl get apiservices]]</code>
 
  
 
== See also ==
 
== See also ==
Line 352: Line 286:
 
* {{Kubernetes API}}
 
* {{Kubernetes API}}
 
* {{kubectl info}}
 
* {{kubectl info}}
* {{k8s.io}}
 
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: