Drone plugins > Kubernetes Deployments
Kubernetes Deployments
by mactynow
The Kubernetes plugin can be used to upgrade a Kubernetes deployment with a newer version of an image.
Example
kind: pipeline
name: default
steps:
- name: deploy
image: quay.io/honestbee/drone-kubernetes
settings:
kubernetes_server: https://kubernetes.company.org
kubernetes_token: CXHVLJSDKJFS...
namespace: app
deployment: my-deployment
repo: myorg/myrepo
container: my-container
tag: mytag
Properties
container
arrayrequiredContainer name (setup with the name option in the kubernetes manifest).
Default: none
deployment
arrayrequiredDeployment name.
Default: none
kubernetes_server
stringrequiredKubernetes server URL.
Default: none
kubernetes_token
stringrequiredKubernetes token.
Secret recommendedDefault: none
namespace
stringrequiredKubernetes namespace.
Default: none
repo
stringrequiredImage to update full name (with registry path).
Default: none
tag
stringrequiredImage tag to update.
Default: none