-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b633439
commit b5e182a
Showing
1 changed file
with
15 additions
and
1 deletion.
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 |
---|---|---|
@@ -1,10 +1,24 @@ | ||
# How to configure VPC and EKS from scratch | ||
|
||
with this package you can have VPC and EKS from scratch. just clone it and then put the following commands. please be sure about your aws cli profile. | ||
`terraform init` | ||
|
||
`terraform fmt` | ||
|
||
`terraform validate` | ||
|
||
`terraform apply` | ||
|
||
### create kub config | ||
check your kube config first | ||
|
||
`cat ~/.kube/config` | ||
|
||
`aws eks --region eu-west-1 update-kubeconfig --name eks --profile default` | ||
create your context | ||
|
||
`aws eks --region eu-west-1 update-kubeconfig --name eks --profile default` | ||
|
||
### you can find the k8s configuration on k8s folder | ||
k8s -> app.yaml | ||
you have to apply it with kubectl command | ||
and know you check your cluster |