Skip to content

Instantly share code, notes, and snippets.

View odacremolbap's full-sized avatar
🏠
WFH

Pablo Mercado odacremolbap

🏠
WFH
View GitHub Profile
@odacremolbap
odacremolbap / cronjob.txt
Last active September 26, 2017 11:36
Job templates
# CRON JOBS
# Simple
apiVersion: batch/v2alpha1
kind: CronJob
metadata:
name: simplecj
spec:
schedule: "*/1 * * * *"
@odacremolbap
odacremolbap / Deis on Stackpoint
Created February 12, 2017 11:20
Deis on Stackpoint
Login
$ deis login http://deis.52.41.72.169.nip.io:31100/
username: pablo
password:
Logged in as pablo
Add your keys to Deis git
$ deis keys:add ~/.ssh/id_rsa.pub
@odacremolbap
odacremolbap / Customize HAProxy on Stackpoint Cloud
Last active December 1, 2016 09:32
Customize HAProxy on Stackpoint Cloud (beta)
# Customizing Configuration
HAProxy ingress controller 0.1.4 image has predefined these environment variables
ENV CONFIG_MAP_NAME haproxy-config
ENV CONFIG_MAP_NAMESPACE stackpoint-system
Which refer to the namespace and name where the configmap with the configuration template is to be found.