These Important Question & Answer asked In Microsoft Webinar May Help You To Understand Kubernetes Concepts

These Important Question & Answer asked In Microsoft Webinar May Help You To Understand Kubernetes Concepts

 
Kubernetes

These Important Question & Answer Asked In Microsoft Webinar May Help You  To Understand  Kubernetes Concepts.

does the Kubernetes cluster reside in one of the Cloud Providers?


Hi Santosh - Yes, Kubernetes as a technology is cloud-agnostic, so you can run it on a cloud provider or even on-premises. Most cloud providers, including Azure, have a managed Kubernetes service that makes it simple to set up and manage K8s on your preferred cloud (or clouds).


how to deploy the latest version of a container image?


You can use the 'kubectl set image' command to deploy the latest version of a container image. That will allow you to update the container image of a deployment or replica set without having to touch the YAML files. You can use 'kubectl apply -f to apply the updated image version directly within the yaml file.


What happens to the memory if something happens to the pod...how is the memory stored? I've read containers are effemeral


Yes, Kubernetes is ephemeral by design. If something happens to your pod, the control plane will detect that something has gone wrong and take action based on that pod's restart policy. The pod's memory will be freed by the OS when the pod is terminated. Luckily, lots of minds have been put towards the best way to meet the needs of stateful applications & you have a few things you can use to ensure persistence, namely: 1. StatefulSets - provides stable network identities and persistent storage for pods 2. Use Persistent Volumes You can also use a DBaaS, depending on your needs.


How long can it take for a new pod to be created and activated once a pod fails?


This can vary depending on the size of the pod and resources available. The whole process can take several seconds or a few minutes.


With AKS, is the control pane/controller node completely owned by Azure? If yes, how can we enable 2 or 3 control panes/controller nodes, for a Production scale enterprise system.


Yes, with AKS the controller nodes and control plane are managed by Azure (AKS is a managed service). You should be able to use the '--master-count' parameter to enable multiple control plane nodes.


If you find that your application is in monolithic architecture, is there still benefits on deploying it in Kubernetes? --Aramis Brusas


Yes, even if the application is not designed to be cloud-native, you can still take advantage of the scalability, HA, resource management, etc of K8s. It would not be the best option in all cases, so it would be prudent to evaluate all the characteristics and requirements of your application.


How does security work?


This is a very broad question, I suggest you visit: https://learn.microsoft.com/en-us/azure/aks/concepts-security


can you define a fixed external ip in the kubernetes config?


Yes, this is possible, although I believe the methods will vary slightly depending on cloud provider.


How does the traffic forwarded between frontend and backend , generally we pass backend Endpoint details to Front end , how does it happen in Kubernetes


This is typically done using a service (ClusterIP, LoadBalancer, or NodePort) - services are Kubernetes resources that provides a stable endpoint for one or more pods & can be used to load balance traffic between the pods and provide a single endpoint for the frontend to access the backend.


How would deployments to Kubernetes change if permissions to a production Kubernetes cluster are locked down and can only be interacted with via devops pipelines?


The deployment process would change in several ways, since the goal of such a set up would be to provide more control and security. You would likely need to have all deployments go through a defined pipeline that is automated and version controlled and access to the production cluster would need to be limited (using RBAC) to reduce the risk of accidental deployments/misconfigurations.


We sometimes have clients running on multiple cloud platforms. does Microsoft kubernetes work on Azure and nonazure cloud platforms?


In theory, yes. However, AKS (and any of the cloud 1P K8s offerings) is optimized to run on Azure. If you are looking for multi-cloud management, using something like Azure Arc-enabled AKS would allow you to connect and manage your clusters running on other cloud providers or on premises.


How easy is it to stop or remove a pod


This is quite easy to do and can be done in the CLI


What about load balancing between two different providers For example Onprem and Azure?


Yes, you can load balance between different providers - how that is done will depend on the specific requirements of your application and the network environment.


I see metrics server was already running. Does Azure provision it automatically?


This is not automatically provisioned when you create an AKS cluster, however, you can install metrics server on your AKS cluster. There is documentation that walks through this process. That being said, Azure Monitor IS built in to AKS to provide performance and health data without the need to run metrics server.


Where can we find microsoft tutorials on Kubernetes?


You can find training and materials on Microsoft Learn: https://learn.microsoft.com/en-us/azure/aks/


What is the use landscape.cncf.io?


As per CNCF: The Cloud Native Landscape project attempts to compile, categorize, and organize all open source projects and proprietary products that can benefit cloud native applications.


what is the difference between a service and a route?


A service is a way to access a set of pods and a route is a way to expose a service to external traffic.


In your example, can you explain how does the frontend application reference the backend service (end points etc.)?


Copying from a similar question below: This is typically done using a service (ClusterIP, LoadBalancer, or NodePort) - services are Kubernetes resources that provides a stable endpoint for one or more pods & can be used to load balance traffic between the pods and provide a single endpoint for the frontend to access the backend.


How could I do realize live dashboard of all running instances in Kubernetes?


In AKS, you can use Azure Monitor to get a live dashboard of all running instances in your AKS cluster. There are also open-source monitoring tools such as Prometheus (metric collection) & Grafana (dashboards & data visualization) that can be used to track the performance of your cluster.


Post a Comment

0 Comments