CheatSnip

Related

Create ConfigMap

kubernetes

Create ConfigMap from file or literal

Delete Pod

kubernetes

Delete a pod from the cluster.

Restart Nginx

nginx

Restart the Nginx service to apply configuration changes or recover from issues.

kubernetes/apply-manifest

Apply Manifest

Apply configuration from file

configuration
management

Command

kubectl apply -f <file.yaml>

Explanation

Creates or updates resources from YAML file.

Examples

Apply deployment manifest

kubectl apply -f deployment.yaml

More

Scale Deployment

kubernetes

Adjust the number of pod replicas in a deployment.

Delete Deployment

kubernetes

Remove a deployment and all its managed pods.

Delete Service

kubernetes

Remove a service

CheatSnip

Lightning-fast access to essential developer commands and code snippets. Search, copy, and master your favorite tools with our comprehensive cheat sheets.

Poorna Prakash

Quick Links

Git CommandsDockerNPMKubernetesYour Favorites

Legal

Terms & ConditionsPrivacy PolicyCookie Preferences

Company

About UsContact

© 2025 CheatSnip. All rights reserved.

Made with ❤️ for developers