Kubernetes 面试题与答案
问题 6. Explain Kubernetes Services and their types.
Services provide a stable endpoint for accessing a set of Pods. Types include ClusterIP (internal to the cluster), NodePort (exposes service on each node's IP), and LoadBalancer (provides an external IP and routes traffic to the service).
问题 7. What is a Kubernetes Namespace?
A Namespace is a way to divide cluster resources between multiple users or projects. It helps in organizing and isolating resources within a cluster.
问题 8. Explain the concept of Persistent Volumes (PV) in Kubernetes.
Persistent Volumes are used to store data in a cluster independently of Pods. They are provisioned by administrators and can be dynamically or statically provisioned.
问题 9. What is Kubernetes Ingress?
Ingress is an API object that manages external access to services within a cluster. It provides HTTP and HTTPS routing to services based on rules specified by the user.
问题 10. Explain Kubernetes Rolling Deployment strategy.
In a Rolling Deployment, new versions of the application are gradually rolled out to the instances, minimizing downtime. It ensures that the application is available throughout the deployment.
用户评价最有帮助的内容: