Implementar un microservicio en Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello
labels:
role: hello
spec:
replicas: 3
selector:
matchLabels:
role: hello
tier: web
template:
metadata:
labels:
role: hello
tier: web
spec:
containers:
- name: hello-app
image: gcr.io/google-samples/hello-app:1.0
ports:
- containerPort: 8080Enlaces de referencia
Última actualización