Más contenido relacionado
La actualidad más candente (20)
Similar a Getting Started with Azure Kubernetes Service (20)
Getting Started with Azure Kubernetes Service
- 22. Kubernetes apiVersion: v1
kind: Service
metadata:
name: my-project-service
spec:
selector:
app: my-project-server
type: LoadBalancer
ports:
- port: 8080
targetPort: 80
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: my-project-deployment
spec:
replicas: 3
minReadySeconds: 10
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
maxSurge: 1
template:
metadata:
labels:
app: my-project-server
spec:
containers:
- name: my-project
image: aksacr122.azurecr.io/myproj:v1
ports:
- containerPort: 80
- 30. What tools are you using?
Az cli
Kubernetes cli
> az aks install-cli
Kubernetes