Skip to content

Instantly share code, notes, and snippets.

@PetrMc
PetrMc / gateway-cf-template.yaml
Last active June 20, 2024 21:01
AWS CloudFormation Template for Gloo Gateway VM Deployment
AWSTemplateFormatVersion: '2010-09-09'
Description: AWS CloudFormation Template to deploy control-plane and gateway VMs with necessary security groups and ingress rules
Parameters:
KeyName:
Description: Name of an existing EC2 KeyPair to enable SSH access
Type: AWS::EC2::KeyPair::KeyName
ConstraintDescription: must be the name of an existing EC2 KeyPair.
InstanceTypeCP:
Description: EC2 instance type for control-plane
@PetrMc
PetrMc / eks_istio_gateway.yaml
Last active May 9, 2024 21:53
This Gist contains a YAML configuration file for setting up an ingress gateway in an Amazon EKS cluster, specifically tailored for use with Solo.io’s distribution of Istio. Use this to seamlessly integrate Istio's powerful routing capabilities within your EKS environment.
---
apiVersion: v1
kind: Namespace
metadata:
name: solo-ingress-ns
---
apiVersion: v1
kind: Service
metadata:
name: solo-ingressgateway
@PetrMc
PetrMc / cert-chain-generator.sh
Created March 25, 2022 21:58
cert chain generation script
#!/bin/bash
# the script started as a copy from getcert.sh located on docs.tetrate.com some variables are reporposed
APP="orders"
DNS="local"
# Creating openssl config file for the leaf cert
cat <<EOF | envsubst > ${APP}.cnf
[req]
default_bits = 2048
@PetrMc
PetrMc / traefik_constructs.yaml
Created January 4, 2021 19:10
Traefik constructs - modified for the blogpost on tetrate.io web-sited
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: ingressroutes.traefik.containo.us
spec:
group: traefik.containo.us
version: v1alpha1
names:
kind: IngressRoute