This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: coffee | |
namespace: ingress-nginx | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: coffee |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: ingress-nginx | |
namespace: ingress-nginx | |
rules: | |
- apiGroups: | |
- "" | |
resources: | |
- services |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kubernetes | |
# | |
# | |
# author: kjenney | |
# Deploys an EKS cluster with required role and security group | |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: Deploys an EKS cluster with required role and security group | |
Parameters: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
security find-generic-password -D "AirPort network password" -a MySSID -g |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Tester script to create an EC2 instance and resize the filesystem | |
function resizeit { | |
echo "--------------------- RESIZING ---------------------" | |
echo | |
echo -e "\tPowering down the instance - $awsinstanceid" | |
ec2-stop-instances $awsinstanceid > /dev/null 2>&1 | |
aws ec2 wait instance-stopped --instance-id $awsinstanceid |
NewerOlder