DevOps Classroom notes 15/Mar/2025

Azure Kubernetes Services

Statefulsets

Lets create a sample stateful set

Preview

Access and identity in AKS Cluster

Annotations

Here is a list of Azure-specific annotations and related configurations that can be used in an AKS cluster:

  1. Azure Load Balancer Annotations:
  2. service.beta.kubernetes.io/azure-dns-label-name: Specifies the DNS label name for the load balancer.
  3. service.beta.kubernetes.io/azure-load-balancer-internal: Enables internal load balancing.
  4. service.beta.kubernetes.io/azure-load-balancer-internal-subnet: Specifies the subnet for internal load balancing.
  5. Azure Ingress Controller Annotations:
  6. kubernetes.io/ingress.class: Specifies the ingress class, e.g., azure/application-gateway.
  7. appgw.ingress.kubernetes.io/backend-path-prefix: Specifies the path prefix for the backend service.
  8. appgw.ingress.kubernetes.io/ssl-redirect: Enables or disables SSL redirection.
  9. Azure Storage Annotations:
  10. volume.beta.kubernetes.io/storage-class: Specifies the storage class for persistent volumes.
  11. Azure Network Policy Annotations:
  12. networking.k8s.io/egress: Specifies egress network policies.
  13. networking.k8s.io/ingress: Specifies ingress network policies.
  14. Azure Service Account Annotations for Workload Identity:
  15. azure.workload.identity/client-id: Specifies the client ID for Azure AD workload identity.
  16. azure.workload.identity/tenant-id: Specifies the tenant ID for Azure AD workload identity.
  17. General Azure Annotations:
  18. azure-disk.enableUltra: Enables ultra disks for Azure managed disks.
  19. azure-disk.cachingMode: Specifies the caching mode for Azure managed disks.

These annotations help in configuring and managing Azure resources within an AKS cluster, such as load balancers, ingress controllers, storage, and network policies. For more detailed information, refer to the official Kubernetes and Azure documentation.

Citations:
[1] https://learn.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest
[2] https://learn.microsoft.com/en-us/azure/aks/use-tags
[3] https://learn.microsoft.com/en-us/azure/aks/monitor-aks
[4] https://learn.microsoft.com/en-us/azure/aks/load-balancer-standard
[5] https://gist.github.com/yokawasa/fd9d9b28f7c79461f60d86c23f615677
[6] https://learn.microsoft.com/en-us/azure/aks/core-aks-concepts
[7] https://azure.github.io/azure-workload-identity/docs/topics/service-account-labels-and-annotations.html
[8] https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/

Azure Load Balancer integration with AKS

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube