Move terraform and kubernetes folder to be under proxy (#127)

* Move terraform and kubernetes folder to be under proxy

There is no reason for them to be under proxy/src/... any more now that
we have a Gradle-idiomatic folder structure.
This commit is contained in:
Lai Jiang 2019-06-20 14:28:32 -04:00 committed by GitHub
parent 9cd7c9402f
commit 520145f641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 8 additions and 17 deletions

View file

@ -103,13 +103,13 @@ $ gcloud auth application-default login
Login with the account that has "Project Owner" role of all three projects
mentioned above.
Navigate to `java/google/registry/proxy/terraform`, create a folder called
Navigate to `proxy/terraform`, create a folder called
`envs`, and inside it, create a folder for the environment that proxy is
deployed to ("alpha" for example). Copy `example_config.tf` to the environment
folder.
```bash
$ cd java/google/registry/proxy/terraform
$ cd proxy/terraform
$ mkdir -p envs/alpha
$ cp example_config.tf envs/alpha/config.tf
```
@ -232,11 +232,11 @@ $ gcloud container clusters get-credentials --project <proxy-project> \
# Deploys environment specific kubernetes objects.
$ kubectl create -f \
java/google/registry/proxy/kubernetes/proxy-deployment-<env>.yaml
proxy/kubernetes/proxy-deployment-<env>.yaml
# Deploys shared kubernetes objects.
$ kubectl create -f \
java/google/registry/proxy/kubernetes/proxy-service.yaml
proxy/kubernetes/proxy-service.yaml
```
Repeat this for all three clusters.
@ -535,7 +535,7 @@ Use `kubectl` to create the deployment and autoscale objects:
```bash
$ kubectl create -f \
java/google/registry/proxy/kubernetes/proxy-deployment-alpha.yaml
proxy/kubernetes/proxy-deployment-alpha.yaml
```
The kubernetes
@ -608,7 +608,7 @@ To deploy the NodePort service:
```bash
$ kubectl create -f \
java/google/registry/proxy/kubernetes/proxy-service.yaml
proxy/kubernetes/proxy-service.yaml
```
This service object will open up port 30000 (health check), 30001 (WHOIS) and