mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 10:00:11 +00:00
591 B
591 B
Deploy manifests to a managed cluster
Prerequisite
Set up the dev environment in your local machine following setup dev environment.
Run the clusteradm command to deploy an nginx deployment to a cluster
clusteradm create work nginx -f manifests/nginx.yaml --cluster cluster1
Now will see that nginx deployment is applied on cluster1. To update the existing nginx deployment on the cluster, run:
clusteradm create work nginx -f manifests/nginx.yaml --cluster cluster1 --overwrite
it will update the nginx deployment on the cluster1.