Skip to content

Instantly share code, notes, and snippets.

Roberto Esparza rbrto

Block or report user

Report or block rbrto

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rbrto
rbrto / sqlonlinuxonkubernetes.md
Created Nov 10, 2019 — forked from asears/sqlonlinuxonkubernetes.md
SQL on Linux on Kubernetes in Azure Containers
View sqlonlinuxonkubernetes.md
@rbrto
rbrto / Knex-Setup.md
Created Sep 16, 2019 — forked from NigelEarle/Knex-Setup.md
Setup Knex with Node.js
View Knex-Setup.md

Knex Setup Guide

Create your project directory

Create and initialize your a directory for your Express application.

$ mkdir node-knex-demo
$ cd node-knex-demo
$ npm init
@rbrto
rbrto / gke-iam-roles.md
Created Jul 26, 2019 — forked from robscott/gke-iam-roles.md
GKE IAM Roles Compared
View gke-iam-roles.md

GKE IAM Roles

On GKE, there's an interesting overlap between what the IAM roles grant you for Kubernetes clusters. In general, the roles in the tables below line up with each other, but there are some strange exceptions. In each of the tables below are the results of a diff between related IAM roles (only the container.* permissions are included in these results).

Project Owner GKE Admin
container.hostServiceAgent.use
Project Editor GKE Developer
@rbrto
rbrto / Jenkinsfile
Created Jul 14, 2019 — forked from radu-matei/Jenkinsfile
Jenkinsfile-k8s
View Jenkinsfile
podTemplate(label: 'mypod', containers: [
containerTemplate(name: 'docker', image: 'docker', ttyEnabled: true, command: 'cat'),
containerTemplate(name: 'kubectl', image: 'lachlanevenson/k8s-kubectl:v1.8.0', command: 'cat', ttyEnabled: true),
containerTemplate(name: 'helm', image: 'lachlanevenson/k8s-helm:latest', command: 'cat', ttyEnabled: true)
],
volumes: [
hostPathVolume(mountPath: '/var/run/docker.sock', hostPath: '/var/run/docker.sock'),
]) {
node('mypod') {
View Jenkinsfile
pipeline {
// run on jenkins nodes tha has java 8 label
agent { label 'java8' }
// global env variables
environment {
EMAIL_RECIPIENTS = 'mahmoud.romeh@test.com'
}
stages {
stage('Build with unit testing') {
@rbrto
rbrto / Jenkinsfile
Created Jun 6, 2019 — forked from gazoakley/Jenkinsfile
Jenkinsfile for running Terraform
View Jenkinsfile
pipeline {
agent any
environment {
AWS_ACCESS_KEY_ID = credentials('AWS_ACCESS_KEY_ID')
AWS_SECRET_ACCESS_KEY = credentials('AWS_SECRET_ACCESS_KEY')
TF_IN_AUTOMATION = '1'
}
stages {
@rbrto
rbrto / Jenkinsfile
Created May 1, 2019 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
View Jenkinsfile
Some Jenkinsfile examples
@rbrto
rbrto / Jenkinsfile
Created Apr 30, 2019 — forked from ysegorov/Jenkinsfile
Jenkinsfile example
View Jenkinsfile
#!/usr/bin/env groovy
// https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/build-test.groovy
// http://stackoverflow.com/a/40294220
// https://JENKINS_HOST/scriptApproval/ - for script approval
import java.util.Date
def isMaster = env.BRANCH_NAME == 'master'
def isDevelop = env.BRANCH_NAME == 'develop'
View prometheus-grafana.md

Monitoring Kubernetes with Prometheus and Grafana via Helm

image

What Problem are we solving

Monitoring on Kubernetes.

tl;dr

You can’t perform that action at this time.