Skip to content

Commit

Permalink
Update deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzhuang-zju authored Oct 28, 2023
1 parent f097009 commit 5df63f9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
#
#!/bin/bash

comp=$1

export VERSION="latest"
export REGISTRY="docker.io/karmada"
make image-${comp} GOOS="linux" --directory=.
kind load docker-image docker.io/karmada/${comp}:latest --name karmada-host

export KUBECONFIG=~/.kube/karmada.config
kubectl --context karmada-host rollout restart deployment/${comp} -n karmada-system

0 comments on commit 5df63f9

Please sign in to comment.