Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

🚗 You set the rental price
🔐 Secure bookings with verified renters
📍 Track your vehicle with GPS integration
💰 Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

Kubernetes Tutorials: How to modify CHANGE-CAUSE in Deployment revision

To modify CHANGE-CAUSE, you can use the following methods:

1. kubectl annotate

$ kubectl annotate deployment/my-dep kubernetes.io/change-cause="my change cause"

This will add or update the kubernetes.io/change-cause annotation on the my-dep deployment.

2. kubectl edit

$ kubectl edit deployment/my-dep

This will open the deployment manifest in a text editor. You can then edit the kubernetes.io/change-cause annotation and save the file.

3. Update the deployment manifest

You can manually edit the deployment manifest to add or update the kubernetes.io/change-cause annotation.

Once you have modified the CHANGE-CAUSE, you can check the rollout history to see the updated change cause:

$ kubectl rollout history deploy/my-dep

Here is an example of a rollout history with a modified CHANGE-CAUSE:

deployment.apps/my-dep
REVISION  CHANGE-CAUSE
3         <none>
4         <none>
5         my change cause

Note: The CHANGE-CAUSE annotation is copied to the deployment revisions upon creation. So, if you modify the CHANGE-CAUSE annotation on the deployment, the change will be reflected in the existing revisions as well.Code language: JavaScript (javascript)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x