Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 28: Registries, Kubernetes, Terraform and Ansible from Jenkins: Cards

मराठी cards · Open the chapter

Revision cards

Image registries. Built images must be stored somewhere servers can pull from.
Revision card 1 of 7: Image registries · Download PNG · Open card page

Lesson: 28.1 Registries

AWS from Jenkins without a permanent key. A long-lived AWS key in Jenkins is a top leak risk.
Revision card 2 of 7: AWS from Jenkins without a permanent key · Download PNG · Open card page

Lesson: 28.2 AWS without a permanent key in Jenkins

Kubernetes deploy and rollback. Deploys must be checked, and bad ones undone fast.
Revision card 3 of 7: Kubernetes deploy and rollback · Download PNG · Open card page

Lesson: 28.3 Kubernetes deploy and rollback

Helm upgrade and rollback. Many Kubernetes YAML files are hard to manage by hand.
Revision card 4 of 7: Helm upgrade and rollback · Download PNG · Open card page

Lesson: 28.4 Helm upgrade and rollback

Terraform in Jenkins: init, validate, plan, approve, apply. Infra changes can delete databases. People must see the plan first.
Revision card 5 of 7: Terraform in Jenkins: init, validate, plan, approve, apply · Download PNG · Open card page

Lesson: 28.5 Terraform: init, validate, plan, approval, apply

Ansible from Jenkins. Servers need config changes in the same pipeline as the app.
Revision card 6 of 7: Ansible from Jenkins · Download PNG · Open card page

Lesson: 28.6 Ansible from Jenkins

Order of a real badge change. Doing steps out of order breaks deploys, like deploying before the image exists.
Revision card 7 of 7: Order of a real badge change · Download PNG · Open card page

Lesson: 28.7 Order on a real badge change

Interview cards

How do you tag images in a pipeline? Use a unique tag like the build number or Git commit. latest alone can't be rolled back.
Interview card 1 of 7: How do you tag images in a pipeline? · Download PNG · Open card page

Lesson: 28.1 Registries

How does Jenkins access AWS without storing a key? Give the agent an IAM role (EC2 instance profile, EKS service account) or use OIDC to assume a role.
Interview card 2 of 7: How does Jenkins access AWS without storing a key? · Download PNG · Open card page

Lesson: 28.2 AWS without a permanent key in Jenkins

How do you deploy to Kubernetes from Jenkins safely? Update the image, then wait for rollout status. If it fails, run rollout undo.
Interview card 3 of 7: How do you deploy to Kubernetes from Jenkins safely? · Download PNG · Open card page

Lesson: 28.3 Kubernetes deploy and rollback

What does helm upgrade --atomic do? If the upgrade fails, Helm rolls back to the last good revision automatically.
Interview card 4 of 7: What does helm upgrade --atomic do? · Download PNG · Open card page

Lesson: 28.4 Helm upgrade and rollback

How do you run Terraform safely in Jenkins? init, validate, plan -out, human approval, then apply the saved plan. Remote state with locking.
Interview card 5 of 7: How do you run Terraform safely in Jenkins? · Download PNG · Open card page

Lesson: 28.5 Terraform: init, validate, plan, approval, apply

How do you run Ansible from Jenkins? Install Ansible on the agent, use an SSH key credential, and run ansible-playbook with the env's inventory.
Interview card 6 of 7: How do you run Ansible from Jenkins? · Download PNG · Open card page

Lesson: 28.6 Ansible from Jenkins

What order should a full release pipeline follow? Test → build → push image → infra (if needed) → deploy → verify. Stop on any failure.
Interview card 7 of 7: What order should a full release pipeline follow? · Download PNG · Open card page

Lesson: 28.7 Order on a real badge change

Comparison cards

kubectl vs Helm for deploys. kubectl: apply plain Kubernetes YAML.Helm: install a chart with values and revisions.
Comparison card 1 of 3: kubectl vs Helm for deploys · Download PNG · Open card page

Lesson: 28.3 Kubernetes deploy and rollback

AWS access key vs IAM role. Access key: a fixed ID and secret stored in Jenkins.IAM role: temporary keys given to the agent.
Comparison card 2 of 3: AWS access key vs IAM role · Download PNG · Open card page

Lesson: 28.2 AWS without a permanent key in Jenkins

terraform plan vs apply in a pipeline. plan: shows what will change.apply: makes the change.
Comparison card 3 of 3: terraform plan vs apply in a pipeline · Download PNG · Open card page

Lesson: 28.5 Terraform: init, validate, plan, approval, apply