Skip to content

Instantly share code, notes, and snippets.

View dodopontocom's full-sized avatar
🎯
Focusing

Rodolfo Neto dodopontocom

🎯
Focusing
  • Me
  • brazil
View GitHub Profile
@Philmod
Philmod / google-container-kubernetes.js
Last active November 26, 2018 18:10
Deploy a new image from Google Cloud Container Builder to Kubernetes, using Google Cloud Functions.
const async = require('async');
const google = require('googleapis');
const k8s = require('kubernetes-client');
const container = google.container('v1');
const PROJECT_ID = 'node-example-gke';
const ZONE = 'us-east1-b';
const CLUSTER_ID = 'node-example-cluster';
const NAMESPACE = 'default';