Skip to content

Commit

Permalink
Update compose to have DNS (#175)
Browse files Browse the repository at this point in the history
Signed-off-by: 6za <53096417+6za@users.noreply.github.com>
  • Loading branch information
6za committed Aug 2, 2022
1 parent 9a2fba0 commit 3c2c7f7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ docker exec -it kubefirst bash
Some process requires previous initialization, for that, run:

```bash
go run . init \
kubefirst init \
--cloud aws \
--region eu-central-1 \
--admin-email user@example.com \
Expand All @@ -117,7 +117,7 @@ go run . init \
At this point, everything is ready to start provisioning the cloud services, and for that run:

```bash
go run . cluster create
kubefirst cluster create
```

## Access ArgoCD
Expand All @@ -133,7 +133,7 @@ kubectl -n argocd port-forward svc/argocd-server 8080:80
It will destroy the kubefirst management cluster, and clean up every change made in the cloud.

```bash
go run . destroy
kubefirst destroy
```

## Available Commands
Expand Down
8 changes: 7 additions & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,10 @@ WORKDIR /home/developer/kubefirst
COPY --chown=developer:developer . .

# download dependencies and prepare fresh installation
RUN go mod download && go run . clean
RUN go mod download && \
go build

USER root
RUN mv ./kubefirst /usr/local/bin/ && chmod 777 /usr/local/bin/kubefirst
USER developer
RUN kubefirst clean
5 changes: 5 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ services:
# AWS credentials are strictly used to provision the Kubefirst in your AWS account
- $HOME/.aws:/home/developer/.aws
command: sh -c "./scripts/kubefirst.sh"
dns:
- 208.67.222.222 #Cisco DNS
- 1.1.1.1 #Cloudflare DNS
- 1.0.0.1 #Cloudflare DNS
- 8.8.8.8 #Google DNS

0 comments on commit 3c2c7f7

Please sign in to comment.