-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added AWS Guide #31
Merged
Merged
Added AWS Guide #31
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b742f07
AWS Guide
orangecola 609b61e
Made fixes to download links
bfdcdeb
Add note to update the aws region in file
J12934 b212551
Apply yamls directly
J12934 77e889e
Update deletetion section to match creation section
J12934 d317122
Promote AWS Guide to the "stable" guides
J12934 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Application Load Balancer (ALB) Ingress Controller Deployment Manifest. | ||
# This manifest details sensible defaults for deploying an ALB Ingress Controller. | ||
# GitHub: https://github.com/kubernetes-sigs/aws-alb-ingress-controller | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: alb-ingress-controller | ||
name: alb-ingress-controller | ||
# Namespace the ALB Ingress Controller should run in. Does not impact which | ||
# namespaces it's able to resolve ingress resource for. For limiting ingress | ||
# namespace scope, see --watch-namespace. | ||
namespace: kube-system | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: alb-ingress-controller | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: alb-ingress-controller | ||
spec: | ||
containers: | ||
- name: alb-ingress-controller | ||
args: | ||
# Limit the namespace where this ALB Ingress Controller deployment will | ||
# resolve ingress resources. If left commented, all namespaces are used. | ||
# - --watch-namespace=your-k8s-namespace | ||
|
||
# Setting the ingress-class flag below ensures that only ingress resources with the | ||
# annotation kubernetes.io/ingress.class: "alb" are respected by the controller. You may | ||
# choose any class you'd like for this controller to respect. | ||
- --ingress-class=alb | ||
- --cluster-name=multi-juicer | ||
# REQUIRED | ||
# Name of your cluster. Used when naming resources created | ||
# by the ALB Ingress Controller, providing distinction between | ||
# clusters. | ||
# - --cluster-name=devCluster | ||
|
||
# AWS VPC ID this ingress controller will use to create AWS resources. | ||
# If unspecified, it will be discovered from ec2metadata. | ||
# - --aws-vpc-id=vpc-xxxxxx | ||
|
||
# AWS region this ingress controller will operate in. | ||
# If unspecified, it will be discovered from ec2metadata. | ||
# List of regions: http://docs.aws.amazon.com/general/latest/gr/rande.html#vpc_region | ||
# - --aws-region=us-west-1 | ||
|
||
# Enables logging on all outbound requests sent to the AWS API. | ||
# If logging is desired, set to true. | ||
# - --aws-api-debug | ||
# Maximum number of times to retry the aws calls. | ||
# defaults to 10. | ||
# - --aws-max-retries=10 | ||
# env: | ||
# AWS key id for authenticating with the AWS API. | ||
# This is only here for examples. It's recommended you instead use | ||
# a project like kube2iam for granting access. | ||
#- name: AWS_ACCESS_KEY_ID | ||
# value: KEYVALUE | ||
|
||
# AWS key secret for authenticating with the AWS API. | ||
# This is only here for examples. It's recommended you instead use | ||
# a project like kube2iam for granting access. | ||
#- name: AWS_SECRET_ACCESS_KEY | ||
# value: SECRETVALUE | ||
# Repository location of the ALB Ingress Controller. | ||
image: docker.io/amazon/aws-alb-ingress-controller:v1.1.4 | ||
serviceAccountName: alb-ingress-controller |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: eksctl.io/v1alpha5 | ||
kind: ClusterConfig | ||
|
||
metadata: | ||
name: multi-juicer | ||
region: ap-southeast-1 | ||
|
||
iam: | ||
withOIDC: true | ||
serviceAccounts: | ||
- metadata: | ||
name: alb-ingress-controller | ||
namespace: kube-system | ||
attachPolicyARNs: | ||
- "" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting a 404 when trying to download
https://raw.githubusercontent.com/kubernetes-sigs/aws-alb-ingress-controller/v1.1.4/docs/examples/cluster-iam.yaml
.The folder doesn't seem to contain a
cluster-iam.yaml
file: https://github.com/kubernetes-sigs/aws-alb-ingress-controller/tree/v1.1.4/docs/examplesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also probably best to update the eks cluster to k8s 1.14 when using all the 1.14 resources.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I messed up. This link is supposed to point to the repo version.
I'll see if i can get the declarative version out before submitting another PR, as it will invalid this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay nice 👍