Skip to content

Commit

Permalink
adding screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
nandajavarma committed Jan 7, 2022
1 parent 380fe61 commit 3269626
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
Binary file added assets/clusterui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/tokengen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ We have 4 main components needed to be setup for this GitOps setup:
- ArgoCD: For continuous deployment of apps to kubernetes cluster
- Tekton: For setting up pipelines that will do webhook triggered automated
builds and invoking argoCD to deploy

Apart from the above setups, we use
[`kaniko`](https://github.com/GoogleContainerTools/kaniko) image to build the
docker container since using `docker build` inside a kubernetes cluster is not
Expand Down
15 changes: 11 additions & 4 deletions terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
For terraform provider `digitalocean` to get authorized to our account, it will
look for an environment variable by the name `DIGITALOCEAN_TOKEN`. To get this
token, you can go to the `API` section of navbar on digitalocean and click on
`Generate New Token`. Fill in a name and you will get a hash. Export that as
`Generate New Token`.

![tokengen](../assets/tokengen.png)

Fill in a name and you will get a hash. Export that as
follows:

``` sh
Expand Down Expand Up @@ -57,7 +61,7 @@ work, we have to do the following:
export AWS_ACCESS_KEY_ID=<access id from digitalocean>
export AWS_SECRET_ACCESS_KEY=<secret from digitalocean>
```

Note that we are using env vars for `AWS` only because we are reusing the
same `s3` block to connect to spaces.

Expand Down Expand Up @@ -101,7 +105,7 @@ In the `kuberentes.tf`, you can also
see that, we try to get an `ouput` from the operation, which is the `kubeconfig`
data, which is the configuration we need to connect to the cluster.

## Creating the cluster
## Creating the cluster

Now that all the setup are done, we can go ahead and create the cluster, just
run the following make target to initialize the backend and create the cluster:
Expand Down Expand Up @@ -136,4 +140,7 @@ kube-system do-node-agent-lx9t6 1/1 Running 0 7m
kube-system kube-proxy-85p9j 1/1 Running 0 7m15s
```

All is good!
All is good! You should be able to see the running cluster on the
digitalocean UI as follows:

![clusterui](../assets/clusterui.png)

0 comments on commit 3269626

Please sign in to comment.