Skip to content

Instantly share code, notes, and snippets.

Diego Pereira Grassato diegograssato

Block or report user

Report or block diegograssato

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
View cockpit.yaml
# vim:ft=yaml.ansible:
apiVersion: apps/v1
kind: Deployment
metadata:
name: kubernetes-cockpit-deployment
namespace: kubernetes-dashboard
labels:
k8s-app: kubernetes-cockpit-deployment
spec:
selector:
View card.html
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
font-family: Arial, Helvetica, sans-serif;
}
View kubernetes-the-hard-way
https://veerendra2.github.io/kubernetes-the-hard-way-1/
https://medium.com/@DrewViles/kubernetes-the-hard-way-on-bare-metal-vms-fdb32bc4fed0
View gist:71d8085a6cb0fb8f9fb3f4b9e0122a11
https://github.com/torokmark/design_patterns_in_typescript
https://stackoverflow.com/questions/45291644/builder-pattern-using-typescript-interfaces
https://refactoring.guru/design-patterns/builder/typescript/example
View docker-compose.yml
version: '3'
services:
mongo-express:
image: mongo-express
ports:
- 8081:8081
environment:
ME_CONFIG_BASICAUTH_USERNAME: renatogroffe
ME_CONFIG_BASICAUTH_PASSWORD: MongoExpress2019!
View elastic-apm-elasticsearch
https://github.com/waldemarnt/devops-resources
https://medium.com/@sece.cosmin/monitor-spring-boot-application-performance-with-elastic-apm-elasticsearch-and-kibana-8d4299cad2be
@diegograssato
diegograssato / index.js
Created Jul 21, 2019
node with express
View index.js
var express = require('express');
var path = require('path');
// var http = require('http');
var app = express();
var path = require('path');
var routes = require('./routes');
var bodyParser = require('body-parser');
app.set('views', './views_dir');
app.set('view engine', 'pug');
View kubernetes-volumenes-nfs
https://www.jorgedelacruz.es/2017/12/26/kubernetes-volumenes-nfs/
View build.gradle
group 'br.com.missaodevops'
version '1.0-SNAPSHOT'
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'idea'
idea {
module {
downloadJavadoc = true
@diegograssato
diegograssato / Jenkinsfile
Last active Feb 6, 2019
Env with minikube
View Jenkinsfile
import javaposse.jobdsl.plugin.*
def REPOSITORY = "https://github.com/diegograssato/simple-java-maven-app.git"
def REGION = 'us-east-1'
def ECR_ID = 'XXXXX'
def LABEL = "worker-${UUID.randomUUID().toString()}"
def REGISTRY = "${ECR_ID}.dkr.ecr.${REGION}.amazonaws.com"
def REGISTRY_CREDENTIAL = 'demo-ecr-credentials'
def IMAGE_NAME = 'WILL BE MODIFIED IN THE FIRST STEP'
def HELM_CHART = 'WILL BE MODIFIED IN THE FIRST STEP'
You can’t perform that action at this time.