-
AKS – 20 – What is different between Load balancer in service and ingress.
LoadBalancer Service: π§Ύ Example: You have one app (welcome-app) and want to expose it to the internet. You use LoadBalancer, and your cloud provider gives you a public IP to access it directly. ποΈ…
-
AKS 20 – Explain Service manifest file
apiVersion: v1 πΉ kind: Service πΉ metadata: Why it’s used: This is the name of the Service, used to reference it within the cluster. spec: selector: app: welcome-app Why it’s used: This tells…
-
AKS 19 – Explain Deployment Manifest file
apiVersion: apps/v1 kind: Deployment metadata: name: welcome-app Name of the Deployment. Used to reference this object. labels: app: welcome-app Labels are key-value pairs used for grouping and selecting resources. spec: replicas: 3 Why…
-
Docker 2 – What all different size of images available as base image of docker & Why do we need different types of Docker images?
A full base image like ubuntu:latest is around 70β80 MB and includes a complete OS environment. A slim image such as ubuntu:20.04-slim is 30β40 MB, providing a smaller version with fewer packages. The Alpine…
-
AKS 18- Step-by-Step Guide to Set Up AKS for .NET Deployment
Step 1: Understand the Application Requirements Before provisioning infrastructure, gather: β Tools: Look for: π This helps you estimate pod resource requests/limits. Step 2: Plan AKS Infrastructure Decide: RegistryUse – Azure Container Registry (ACR)…
-
Docker 1 – Explain basic Docker file
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 80 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY . . RUN dotnet publish -c Release -o /app/publish FROM base AS final WORKDIR /app COPY –from=build /app/publish . ENTRYPOINT [“dotnet”, “YourApp.dll”] This Dockerfile is a multi-stage build for a .NET 6.0 ASP.NET application π§ Laymanβs Explanation: Imagine you’re baking a cake: This Dockerfile does…