Junior — Middle
Have you participated in a project using pure Kubernetes?
sobes.tech AI
Answer from AI
Yes, participating in a project using pure Kubernetes means working with native Kubernetes without additional platforms or wrappers such as OpenShift or Rancher.
In such a project, you typically need to:
- Write and maintain manifests (YAML) for deploying pods, services, ingress, and other resources.
- Configure settings, secrets, and volumes.
- Manage scaling and updates of applications through the Kubernetes API.
- Use kubectl and other tools to interact with the cluster.
For example, deploying a simple application involves creating a Deployment and Service:
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
spec:
replicas: 3
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: myapp-container
image: myapp-image:latest
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: myapp-service
spec:
selector:
app: myapp
ports:
- protocol: TCP
port: 80
targetPort: 8080
type: ClusterIP
Working with pure Kubernetes requires understanding its architecture and principles of resource management.