Ctrl + T
/Cmd + T
: Open a new tab.Ctrl + W
/Cmd + W
: Close the current tab.Ctrl + Shift + T
/Cmd + Shift + T
: Reopen the last closed tab.Ctrl + N
/Cmd + N
: Open a new window.Ctrl + Shift + N
/Cmd + Shift + N
: Open a new incognito window.Ctrl + Tab
: Move to the next tab.Ctrl + Shift + Tab
: Move to the previous tab.
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: Ingress | |
metadata: | |
name: ingress-demo | |
labels: | |
app: user-service | |
annotations: | |
alb.ingress.kubernetes.io/healthcheck-protocol: HTTP | |
alb.ingress.kubernetes.io/load-balancer-name: service-demo | |
alb.ingress.kubernetes.io/target-type: instance |
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: external-dns | |
spec: | |
strategy: | |
type: Recreate | |
selector: | |
matchLabels: | |
app: external-dns |
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: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: external-dns-viewer | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: external-dns | |
subjects: | |
- kind: ServiceAccount |
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: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: external-dns | |
rules: | |
- apiGroups: [""] | |
resources: ["services","endpoints","pods"] | |
verbs: ["get","watch","list"] | |
- apiGroups: ["extensions","networking.k8s.io"] | |
resources: ["ingresses"] |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"route53:ChangeResourceRecordSets", | |
"route53:ListResourceRecordSets" | |
], | |
"Resource": [ |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"route53:ChangeResourceRecordSets", | |
"route53:ListResourceRecordSets" | |
], | |
"Resource": [ |
This script automates the process of setting up an S3 bucket in AWS. It performs the following tasks:
- Checks if the specified S3 bucket already exists.
- Creates the bucket if it does not exist.
- Removes Block Public Access settings from the bucket.
- Attaches a specified bucket policy to allow public read access.
- Configures CORS settings for the bucket.
- Enables static website hosting on the bucket.
NewerOlder