All Projects → nytimes → Drone Gke

nytimes / Drone Gke

Licence: apache-2.0
Drone plugin for deploying containers to Google Kubernetes Engine (GKE)

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Drone Gke

Drone Gae
Drone plugin for managing deployments and services on Google App Engine (GAE)
Stars: ✭ 96 (-39.62%)
Mutual labels:  drone, gcp, ci-cd
Kubectl Plugins
A Collection of Plugins for kubectl Integration (exec as any user, context switching, etc).
Stars: ✭ 340 (+113.84%)
Mutual labels:  ci-cd, kubectl
My Links
Knowledge seeks no man
Stars: ✭ 311 (+95.6%)
Mutual labels:  gcp, containers
Awesome Cloudrun
👓 ⏩ A curated list of resources about all things Cloud Run
Stars: ✭ 521 (+227.67%)
Mutual labels:  gcp, containers
DevSecOps
Ultimate DevSecOps library
Stars: ✭ 4,450 (+2698.74%)
Mutual labels:  gcp, ci-cd
drone-gcloud-helm
Drone 0.5 plugin to create and deploy Helm charts for Kubernetes in Google Cloud.
Stars: ✭ 13 (-91.82%)
Mutual labels:  drone, gcp
Gbt
Highly configurable prompt builder for Bash, ZSH and PowerShell written in Go.
Stars: ✭ 457 (+187.42%)
Mutual labels:  gcp, kubectl
Kontemplate
Extremely simple Kubernetes resource templates | Source has moved to https://git.tazj.in/tree/ops/kontemplate
Stars: ✭ 217 (+36.48%)
Mutual labels:  templating, containers
Csi Gcs
Kubernetes CSI driver for Google Cloud Storage
Stars: ✭ 44 (-72.33%)
Mutual labels:  gcp, containers
Origin
Conformance test suite for OpenShift
Stars: ✭ 8,046 (+4960.38%)
Mutual labels:  ci-cd, containers
Pulumi
Pulumi - Developer-First Infrastructure as Code. Your Cloud, Your Language, Your Way 🚀
Stars: ✭ 10,887 (+6747.17%)
Mutual labels:  gcp, containers
Komiser
☁️ Cloud Environment Inspector 👮🔒 💰
Stars: ✭ 2,684 (+1588.05%)
Mutual labels:  gcp, containers
Helloworld Msa
Main repository with documentation and support files
Stars: ✭ 218 (+37.11%)
Mutual labels:  ci-cd, containers
gke-demo
Demonstration of complete, fully-featured CI/CD and cloud automation for microservices, done with GCP/GKE
Stars: ✭ 47 (-70.44%)
Mutual labels:  gcp, ci-cd
Mcw Cloud Native Applications
MCW Cloud-native applications
Stars: ✭ 184 (+15.72%)
Mutual labels:  ci-cd, containers
Devops Guide
DevOps Guide - Development to Production all configurations with basic notes to debug efficiently.
Stars: ✭ 4,119 (+2490.57%)
Mutual labels:  ci-cd, containers
Geodesic
🚀 Geodesic is a DevOps Linux Distro. We use it as a cloud automation shell. It's the fastest way to get up and running with a rock solid Open Source toolchain. ★ this repo! https://slack.cloudposse.com/
Stars: ✭ 629 (+295.6%)
Mutual labels:  containers, kubectl
Habitus
A build flow tool for Docker.
Stars: ✭ 1,177 (+640.25%)
Mutual labels:  ci-cd, containers
Ckube
A cli to simplify working with kubectl for some common workflows
Stars: ✭ 127 (-20.13%)
Mutual labels:  containers, kubectl
Maratona Kubernetes
Repositório de código de demonstrações da Maratona Kubernetes 🇧🇷
Stars: ✭ 152 (-4.4%)
Mutual labels:  kubectl

drone-gke

Drone plugin to deploy container images to Kubernetes on Google Container Engine. For the usage information and a listing of the available options please take a look at the docs.

Simplify deploying to Google Kubernetes Engine. Derive the API endpoints and credentials from the Google credentials and open the yaml file to templatization and customization with each Drone build.

Links

Releases and versioning

Tool

This tool follows semantic versioning.

Use the minor version (x.X) releases for stable use cases (eg 0.9). Changes are documented in the release notes.

  • Pushes to the master branch will update the image tagged latest.
  • Releases will create the images with each major/minor/patch tag values (eg 0.7.1 and 0.7).

Kubernetes API

Since the 237.0.0 (2019-03-05) Google Cloud SDK, the container image contains multiple versions of kubectl. The corresponding client version that matches the cluster version will be used automatically. This follows the minor release support that GKE offers.

If you want to use a different version, you can specify the version of kubectl used with the kubectl_version parameter.

Usage

⚠️ For usage within in a .drone.yml pipeline, please take a look at the docs

Executing locally from the working directory:

# Deploy the manifest templates in local-example/
cd local-example/

# Set to the path of your GCP service account JSON-formatted key file
export JSON_TOKEN_FILE=xxx

# Set to your cluster
export PLUGIN_CLUSTER=yyy

# Set to your cluster's zone
export PLUGIN_ZONE=zzz

# Set to a namespace within your cluster's
export PLUGIN_NAMESPACE=drone-gke

# Example variables referenced within .kube.yml
export PLUGIN_VARS="$(cat vars.json)"
# {
#   "app": "echo",
#   "env": "dev",
#   "image": "gcr.io/google_containers/echoserver:1.4"
# }

# Example secrets referenced within .kube.sec.yml
export SECRET_APP_API_KEY=123
export SECRET_BASE64_P12_CERT="cDEyCg=="

# Execute the plugin
docker run --rm \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  -e PLUGIN_TOKEN="$(cat $JSON_TOKEN_FILE)" \
  -e PLUGIN_CLUSTER \
  -e PLUGIN_ZONE \
  -e PLUGIN_NAMESPACE \
  -e PLUGIN_VARS \
  -e SECRET_APP_API_KEY \
  -e SECRET_BASE64_P12_CERT \
  nytimes/drone-gke --dry-run --verbose

# Remove --dry-run to deploy
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].