Rolling Updates

1. ReplicaSet and Autoscaling are important to minimize downtime and service interruption.
2. Rolling updates are a way to roll out the app changes in an automated way throughout your pods.
3. Work with the pod templates such as Deployements

How to enable Rolling Updates ?

1.Add liveness and readiness probes to your deployements. This ensures that deployements are marked ready.
2. Adding rolling update strategy to your YAML file.

Service Binding

1. Allows you to to bind an IBM Cloud Service instance to Kubernetes cluster.
2. The service credentials are available as secrets to any application deployed on the cluster.
3. By mounting the kubernetes secret as a volume to your deployement you make the IBM cloud identity and Access Management (IAM) API key level to container that runs in your pod.
A JSON file called Binding is created in the volume mount Directory.

How to Create Service Binding ?

1. First we will create service using CLI or IBM Cloud.
2. Then we will bind the newly created service to our cluster using "service bind" command.
3. Once you have bound a service to your cluster you will get access to service credentials.

next