Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Prepare Azure environments for new workloads—subscriptions, networking, identity, and landing zones
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/services/aks/manifests.md
1# AKS - Kubernetes Manifests23## Deployment45```yaml6apiVersion: apps/v17kind: Deployment8metadata:9name: my-service10spec:11replicas: 312selector:13matchLabels:14app: my-service15template:16metadata:17labels:18app: my-service19spec:20containers:21- name: my-service22image: myacr.azurecr.io/my-service:latest23ports:24- containerPort: 808025resources:26requests:27memory: "128Mi"28cpu: "100m"29limits:30memory: "256Mi"31cpu: "500m"32livenessProbe:33httpGet:34path: /health35port: 808036initialDelaySeconds: 1037readinessProbe:38httpGet:39path: /ready40port: 808041initialDelaySeconds: 542```4344## Service4546```yaml47apiVersion: v148kind: Service49metadata:50name: my-service51spec:52selector:53app: my-service54ports:55- port: 8056targetPort: 808057type: ClusterIP58```5960## Ingress6162```yaml63apiVersion: networking.k8s.io/v164kind: Ingress65metadata:66name: my-ingress67annotations:68kubernetes.io/ingress.class: azure/application-gateway69spec:70rules:71- host: myapp.example.com72http:73paths:74- path: /75pathType: Prefix76backend:77service:78name: my-service79port:80number: 8081```82