Skip to content

Instantly share code, notes, and snippets.

View tonnyadhi's full-sized avatar

Tonny Adhi Sabastian tonnyadhi

View GitHub Profile
@tonnyadhi
tonnyadhi / gist:c2d980de96ae71c2d3be67ba31e88a6e
Last active November 11, 2022 08:41
Local Storage Provisioner EKS K8S - XFS Filesystem
---
# Source: provisioner/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: local-static-provisioner
namespace: kube-system
labels:
helm.sh/chart: provisioner-2.6.0-alpha.1
app.kubernetes.io/name: provisioner

Keybase proof

I hereby claim:

  • I am tonnyadhi on github.
  • I am ragnalinux (https://keybase.io/ragnalinux) on keybase.
  • I have a public key ASDFf1ZiZayqxPW63qBPlTtpAkZlKbYbCCj2XSCgCApfjwo

To claim this, I am signing this object:

@tonnyadhi
tonnyadhi / Dockerfile
Created June 24, 2022 10:26
ORY Stack
version: '3.3'
networks:
vpcbr:
driver: bridge
ipam:
config:
- subnet: 10.11.0.0/24
services:
version: '3.3'
networks:
vpcbr:
driver: bridge
ipam:
config:
- subnet: 10.11.0.0/24
services:
$kubectl describe svc -n grpc-sample
Name: grpcbin
Namespace: grpc-sample
Labels: app=grpcbin
Annotations: configuration.konghq.com/protocol: grpc
ingress.kubernetes.io/service-upstream: true
Selector: app=grpcbin
Type: ClusterIP
IP: 172.27.33.136
Port: grpc 80/TCP
apiVersion: configuration.konghq.com/v1
kind: KongIngress
metadata:
name: do-not-preserve-host
namespace: grpc-sample
route:
preserve_host: false
upstream:
host_header: grpcbin.grpc-sample.svc.cluster.local:80
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: grpcbin
namespace: grpc-sample
annotations:
configuration.konghq.com: do-not-preserve-host
configuration.konghq.com/protocols: grpc,grpcs
spec:
rules: