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
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-nodegroup.html
AWSTemplateFormatVersion: 2010-09-09
Description: >-
Account Baseline IAM Groups, Roles and Managed Policies.
**WARNING** You will be billed for the AWS resources created if you create a
stack from this template.
Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License.
---
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
- etcd
- load balancing
- availability
- auto-scaling
- networking
- roll-back on faulty deployments
- persistent storage
- upgrading nodes
- removing nodes
- adding nodes
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: $RELEASE
namespace: default
spec:
chart:
git: [email protected]:fluxcd/flux-get-started
ref: master
path: charts/ghost
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: [email protected]
apiVersion: apps/v1
kind: Deployment
metadata:
name: registry-creds
namespace: kube-system
spec:
replicas: 1
selector:
matchLabels:
name: registry-creds
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:
/*
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