
Kubernetes Basics
Pods, deployments, services, config maps, secrets, health checks, resource limits
1What is a Pod in Kubernetes?
What is a Pod in Kubernetes?
Câu trả lời
A Pod is the smallest deployable unit in Kubernetes. It represents a group of one or more containers that share the same network and storage namespace. Containers in a Pod can communicate via localhost and access the same volumes. The Pod provides a shared execution context for the containers it contains.
2What is the main advantage of using a Deployment rather than a standalone Pod?
What is the main advantage of using a Deployment rather than a standalone Pod?
Câu trả lời
A Deployment automatically manages the Pod lifecycle, including replication, rolling updates, and rollbacks. It ensures that a specified number of replicas is always running. If a Pod fails, the Deployment automatically creates a new one to maintain the desired state.
3Which Kubernetes Service type should be used to expose an application only inside the cluster?
Which Kubernetes Service type should be used to expose an application only inside the cluster?
Câu trả lời
ClusterIP is the default Service type in Kubernetes. It creates a virtual IP address accessible only from within the cluster. This type is ideal for inter-service communication like between a frontend and backend, or between an API and a database. The ClusterIP address remains stable even if the underlying Pods change.
How to store non-sensitive configuration data in Kubernetes?
What is the main difference between a Secret and a ConfigMap in Kubernetes?
+19 câu hỏi phỏng vấn
Các chủ đề phỏng vấn Go khác
Go Basics
Go Data Structures
Go Interfaces
Error Handling
Goroutines Basics
Channels
Go Modules
HTTP Server
HTTP Client
JSON Encoding
database/sql
Context Package
Testing
Concurrency Patterns
Sync Primitives
Go Web Frameworks
REST API Design
gRPC
Reflection
Memory Management
Performance Optimization
Generics
Go Design Patterns
Microservices
Security & Authentication
Docker & Containerization
Advanced Go
CLI Development
Nắm vững Go cho lần phỏng vấn tiếp theo
Truy cập tất cả câu hỏi, flashcards, bài kiểm tra kỹ thuật, bài tập code review và mô phỏng phỏng vấn.
Bắt đầu miễn phí