ci: Restart DaemonSet after build
All checks were successful
dustin/k8s-reboot-coordinator/pipeline/head This commit looks good
All checks were successful
dustin/k8s-reboot-coordinator/pipeline/head This commit looks good
The new `kubeRolloutRestart` function works similarly to the `kubeRestartDeployment` function, but supports any kind of pod controller, including DaemonSet.
This commit is contained in:
2
ci/Jenkinsfile
vendored
2
ci/Jenkinsfile
vendored
@@ -14,6 +14,6 @@ buildContainerImage2(
|
||||
|
||||
stage('Deploy') {
|
||||
when(env.BRANCH_NAME == "master") {
|
||||
kubeRestartDeployment(namespace: 'default')
|
||||
kubeRolloutRestart(kind: 'daemonset', namespace: 'default')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user