Difference between revisions of "Kubernetes API"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/reference/access-authn-authz/controlling-access/
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[wikipedia:Kubernetes API]] https://kubernetes.io/docs/concepts/overview/kubernetes-api/ | + | [[wikipedia:Kubernetes API]] |
+ | * https://kubernetes.io/docs/reference/using-api/ | ||
+ | * https://kubernetes.io/docs/concepts/overview/kubernetes-api/ | ||
+ | * https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/ | ||
:See also : [[Kubernetes API Server]] | :See also : [[Kubernetes API Server]] | ||
Line 5: | Line 8: | ||
− | * [[Kubernetes]] [[RBAC]] uses the <code>rbac.authorization.k8s.io</code> [[API]] Group | + | * [[Kubernetes]] [[RBAC]] uses the <code>[[rbac.authorization.k8s.io]]</code> [[API]] Group |
Line 11: | Line 14: | ||
− | * <code>[[kubectl | + | * <code>[[kubectl api-resources]]</code> |
+ | * <code>[[kubectl cluster-info]]</code> | ||
+ | * <code>[[kubectl cluster-info dump]]</code> | ||
* [[Kubernetes API]]: [[TCP]] [[6443]] <ref>https://kubernetes.io/docs/reference/access-authn-authz/controlling-access/</ref> | * [[Kubernetes API]]: [[TCP]] [[6443]] <ref>https://kubernetes.io/docs/reference/access-authn-authz/controlling-access/</ref> | ||
Line 24: | Line 29: | ||
* Read [[Kubernetes API Server]] | * Read [[Kubernetes API Server]] | ||
* Read Improvements to the [[Ingress API]] in Kubernetes 1.18 https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/ | * Read Improvements to the [[Ingress API]] in Kubernetes 1.18 https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/ | ||
+ | * [[Access Kubernetes REST API using default token]] | ||
+ | * [[Access EKS API using a Bearer token]] | ||
+ | |||
+ | == Logs == | ||
+ | * <code>2021-11-28 19:14:46 [ℹ] [[Kubernetes API endpoint]] access will use default of {publicAccess=true, privateAccess=false} for cluster .../...</code> | ||
== Related terms == | == Related terms == | ||
* [[Kubernetes API Server]] | * [[Kubernetes API Server]] | ||
+ | * [[Kubernetes Downward API]] | ||
* <code>[[minikube status]]</code> | * <code>[[minikube status]]</code> | ||
* [[Ingress API]] | * [[Ingress API]] | ||
* [[Workloads API]] (2017) | * [[Workloads API]] (2017) | ||
* [[Custom Resource Definitions API]] | * [[Custom Resource Definitions API]] | ||
− | |||
− | |||
− | |||
* <code>[[apiVersion:]]</code> | * <code>[[apiVersion:]]</code> | ||
* <code>[[kubectl get apiservices]]</code> | * <code>[[kubectl get apiservices]]</code> | ||
− | |||
* [[Kubernetes ports]] | * [[Kubernetes ports]] | ||
− | * [[ | + | * <code>[[kubectl config view]]</code> |
+ | * <code>[[kubectl cluster-info]]</code> | ||
+ | * [[curl http://localhost:8080/api/]] | ||
+ | * [[6443]] | ||
== See also == | == See also == | ||
* {{kubectl proxy}} | * {{kubectl proxy}} | ||
+ | * {{kind}} | ||
* {{Kubernetes API}} | * {{Kubernetes API}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] | ||
[[Category:CKAD]] | [[Category:CKAD]] |
Latest revision as of 12:28, 8 February 2024
- https://kubernetes.io/docs/reference/using-api/
- https://kubernetes.io/docs/concepts/overview/kubernetes-api/
- https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/
- See also : Kubernetes API Server
- Kubernetes RBAC uses the
rbac.authorization.k8s.io
API Group
Use kubectl api-resources
for a complete list of supported resources.
Changelog[edit]
Activities[edit]
- Read Kubernetes API Server
- Read Improvements to the Ingress API in Kubernetes 1.18 https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
- Access Kubernetes REST API using default token
- Access EKS API using a Bearer token
Logs[edit]
2021-11-28 19:14:46 [ℹ] Kubernetes API endpoint access will use default of {publicAccess=true, privateAccess=false} for cluster .../...
Related terms[edit]
- Kubernetes API Server
- Kubernetes Downward API
minikube status
- Ingress API
- Workloads API (2017)
- Custom Resource Definitions API
apiVersion:
kubectl get apiservices
- Kubernetes ports
kubectl config view
kubectl cluster-info
- curl http://localhost:8080/api/
- 6443
See also[edit]
- kube-proxy:
kubectl proxy
,kubectl proxy --help
, 8001, Kubernetes API, https localhost 8001,kubectl port-forward
kind:
[Pod | Ingress | ClusterConfiguration
|Config | ConfigMap | ServiceAccount | Deployment | List | Secret | Status ], spec: metadata: data:
- 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: