Skip to content

Instantly share code, notes, and snippets.

View moosh3's full-sized avatar
🍐
doing devop things

Alec Cunningham moosh3

🍐
doing devop things
View GitHub Profile
apiVersion: apps/v1
kind: Deployment
metadata:
name: redis
labels:
app: redis
spec:
selector:
matchLabels:
app: redis
@moosh3
moosh3 / config.json
Last active October 25, 2020 18:13
Monitoror
{
"version": "2.0",
"columns": 2,
"tiles": [
{
"type": "HTTP-STATUS",
"label": "AmwellNow Prod",
"params": {
"url": "https://amwellnow.com/actuator/health",
/*
Copyright 2020 The Flux CD contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
apiVersion: batch/v1
kind: Job
metadata:
name: db-migrator
annotations:
"helm.sh/hook": post-install,pre-upgrade
"helm.sh/hook-weight": "0"
"helm.sh/hook-delete-policy": before-hook-creation
spec:
template:
apiVersion: apps/v1
kind: Deployment
metadata:
name: registry-creds
namespace: kube-system
spec:
replicas: 1
selector:
matchLabels:
name: registry-creds
apiVersion: cert-manager.io/v1alpha2
kind: Issuer
metadata:
name: letsencrypt-staging
spec:
acme:
# The ACME server URL
server: https://acme-staging-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
email: Hosting.DevOps@americanwell.com
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: $RELEASE
namespace: default
spec:
chart:
git: git@github.com:fluxcd/flux-get-started
ref: master
path: charts/ghost
- etcd
- load balancing
- availability
- auto-scaling
- networking
- roll-back on faulty deployments
- persistent storage
- upgrading nodes
- removing nodes
- adding nodes
---
AWSTemplateFormatVersion: '2010-09-09'
Description: This Template creates an Amazon SNS topic that can send messages to two
Amazon SQS queues with appropriate permissions for one IAM user to publish to the
topic and another to read messages from the queues. MySNSTopic is set up to publish
to two subscribed endpoints, which are two Amazon SQS queues (MyQueue1 and MyQueue2).
MyPublishUser is an IAM user that can publish to MySNSTopic using the Publish API.
MyTopicPolicy assigns that permission to MyPublishUser. MyQueueUser is an IAM user
that can read messages from the two Amazon SQS queues. MyQueuePolicy assigns those
permissions to MyQueueUser. It also assigns permission for MySNSTopic to publish