This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cluster_name = "slurm-tpu-isaack" | |
project = "network-host-project-243718" | |
zone = "us-central1-b" | |
network_name = "slurm-network-001" | |
subnetwork_name = "slurm-network-001" | |
# shared_vpc_host_project = "<vpc host project>" | |
# disable_controller_public_ips = true | |
# disable_login_public_ips = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
from slackclient import SlackClient | |
import requests | |
import json | |
import base64 | |
from pymongo import MongoClient | |
import json | |
from bson.json_util import dumps | |
import copy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## kube-lego configuration | |
## Ref: https://github.com/jetstack/kube-lego | |
## | |
config: | |
## Email address to use for registration with Let's Encrypt | |
## | |
LEGO_EMAIL: '[email protected]' | |
## Let's Encrypt API endpoint | |
## Production: https://acme-v01.api.letsencrypt.org/directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/usr/bin/groovy | |
/** | |
* This pipeline describes a multi container job | |
*/ | |
@Library('github.com/mugithi/jenkinsfile-pipeline@master') | |
def pipeline = new io.estrado.Pipeline() | |
podTemplate(label: 'pipeline', containers: [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ind: Service | |
apiVersion: v1 | |
metadata: | |
name: nginx-default-backend | |
labels: | |
k8s-addon: ingress-nginx.addons.k8s.io | |
spec: | |
ports: | |
- port: 80 | |
targetPort: http |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helm install infra-isaack-io --dry-run --debug | |
[debug] Created tunnel using local port: '51663' | |
[debug] SERVER: "localhost:51663" | |
[debug] Original chart version: "" | |
[debug] CHART PATH: /Users/isaackkaranja/github/blog-isaack-io-on-k8s/infra-isaack-io | |
NAME: oppulent-lizzard | |
REVISION: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Default values for wordpress-isaack. | |
# This is a YAML-formatted file. | |
# Declare variables to be passed into your templates. | |
replicaCount: 1 | |
image: | |
repository: mugithi/blog | |
tag: latest | |
registry: index.docker.io | |
registrysecrets: myregistrykey |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: {{ template "fullname" . }} | |
labels: | |
app: {{ template "name" . }} | |
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} | |
release: {{ .Release.Name }} | |
heritage: {{ .Release.Service }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
{{- if .Values.ingress.enabled -}} | |
{{- $serviceName := include "fullname" . -}} | |
{{- $servicePort := .Values.service.externalPort -}} | |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: {{ template "fullname" . }} | |
labels: | |
app: {{ template "name" . }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: nginx-default-backend | |
labels: | |
k8s-addon: ingress-nginx.addons.k8s.io | |
spec: | |
ports: | |
- port: 80 | |
targetPort: http |
NewerOlder