This file contains 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: autoscaling/v2 | |
kind: HorizontalPodAutoscaler | |
metadata: | |
name: nginx-prod | |
spec: | |
scaleTargetRef: | |
apiVersion: apps/v1 | |
kind: Deployment | |
name: nginx-prod | |
minReplicas: 1 |
This file contains 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
module "eks" { | |
source = "terraform-aws-modules/eks/aws" | |
cluster_name = var.cluster_name | |
cluster_version = "1.21" | |
cluster_endpoint_private_access = true | |
cluster_endpoint_public_access = true | |
cluster_addons = { | |
coredns = { |
This file contains 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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Resource": [ | |
"arn:aws:s3:::velero-backup", | |
"arn:aws:s3:::velero-backup/*" | |
], | |
"Action": [ |
This file contains 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
# Setting up Amazon EKS | |
1. Run the following command to install the Kubernetes Cluster after install eksctl from eksctl.io | |
2. Configure the appropriate permissions to give access to IAM, EKS, EC2, and VPC. | |
3. Login to the EC2 Linux Instance with the appropriate | |
4. Install kubectl from here: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ | |
5. Enter the following command `eksctl create cluster` | |
# Installing AWS ALB Ingress |
This file contains 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
"agent": { | |
"metrics_collection_interval": 60, | |
"run_as_user": "root" | |
}, | |
"metrics": { |
This file contains 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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: myapp | |
spec: | |
selector: | |
matchLabels: | |
app: myappms | |
replicas: 3 | |
template: |
This file contains 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
{ | |
"Id": "Policy1596477460393", | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1596477458210", | |
"Action": "s3:*", | |
"Effect": "Allow", | |
"Resource": "arn:aws:s3:::mcsseries.io/*", | |
"Principal": "*" |
This file contains 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
<html> | |
<h1>Welcome to a static S3 website</h2> | |
</html> |
This file contains 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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: myapp | |
spec: | |
selector: | |
matchLabels: | |
app: myappms | |
replicas: 2 | |
template: |
This file contains 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
apply plugin: 'com.android.application' | |
apply plugin: 'com.google.firebase.firebase-crash' | |
apply plugin: 'io.fabric' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-kapt' | |
apply plugin: 'kotlin-android-extensions' | |
apply plugin: 'realm-android' | |
android { |