Skip to content

Instantly share code, notes, and snippets.

@sbuss
sbuss / main.go
Last active August 15, 2019 20:23
Stackdriver logging with request grouping for App Engine Go 1.11
// Sample logging-quickstart writes a log entry to Stackdriver Logging.
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"strings"
@salrashid123
salrashid123 / neg_gcp_yaml_hc.yaml
Created February 25, 2020 17:46
neg_gcp_yaml_hc
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp-deployment
labels:
type: myapp-deployment-label
spec:
replicas: 2
selector:
matchLabels: