You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by my...@apache.org on 2020/12/14 19:07:42 UTC

[incubator-datalab] branch develop updated: Update README.md

This is an automated email from the ASF dual-hosted git repository.

mykolabodnar pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/develop by this push:
     new d3c5f37  Update README.md
d3c5f37 is described below

commit d3c5f37b02186b6d28bc64e89c0ed69e4f3cc43d
Author: bodnarmykola <46...@users.noreply.github.com>
AuthorDate: Mon Dec 14 21:02:24 2020 +0200

    Update README.md
---
 infrastructure-provisioning/terraform/gcp/ssn-gke/README.md | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/infrastructure-provisioning/terraform/gcp/ssn-gke/README.md b/infrastructure-provisioning/terraform/gcp/ssn-gke/README.md
index f281017..bae810b 100644
--- a/infrastructure-provisioning/terraform/gcp/ssn-gke/README.md
+++ b/infrastructure-provisioning/terraform/gcp/ssn-gke/README.md
@@ -47,11 +47,10 @@ terraform init
 ```
 terraform apply -auto-approve -target=module.gke_cluster -state /home/ubuntu/datalab-state/terraform.tfstate -var credentials_file_path=/path/to/auth/file.json -var project_id=project_id -var service_base_name=datalab-xxxx -var region=xx-xxxxx -var zone=xxx-xxxxx-x -var big_query_dataset=test -var domain=k8s-gcp.domain.com
 ```
-
 - Run terraform apply command to deploy Helm Charts:
 
 ```
-terraform apply -auto-approve -target=module.helm_charts -state /home/ubuntu/datalab-state/terraform.tfstate -var credentials_file_path=/path/to/auth/file.json -var project_id=project_id -var service_base_name=datalab-xxxx -var region=xx-xxxxx -var zone=xxx-xxxxx-x -var big_query_dataset=test -var domain=k8s-gcp.domain.com
+terraform apply -auto-approve -target=module.helm_charts -state /home/ubuntu/datalab-state/terraform.tfstate -var credentials_file_path=/path/to/auth/file.json -var project_id=project_id -var service_base_name=xxxx -var region=xx-xxxxx -var zone=xxx-xxxxx-x -var big_query_dataset=test -var domain=k8s-gcp.domain.com
 ```
 
 List of parameters for GKE cluster creation and Helm Charts deployment:
@@ -70,4 +69,12 @@ After successful Helm Charts deployment You will get direct link to Keycloak adm
 
 To proceed with DataLab resources creation  Endpoint should be created and added in DataLab UI.
 
-To create Endpoint following steps should be executed:
\ No newline at end of file
+To create Endpoint following steps should be executed:
+```
+cd /home/ubuntu/incubator-datalab/infrastructure-provisioning/terraform/bin/
+```
+- Create private and public key-pair for SSH access to endpoint instance
+- Run python script to deploy endpoint:
+```
+python3 datalab.py deploy gcp endpoint --gcp_project_id or2-msq-epmc-dlab-t1iylu --creds_file /path/to/auth/file.json --key_name key_name --pkey /path/to/key/key_name.pem --service_base_name xxxx --path_to_pub_key /path/to/key/key_name.pub --endpoint_id yyyy --region xx-xxxxx --zone xxx-xxxxx-x --ldap_host lsap_server_host --ldap_dn dc=example,dc=com --ldap_user cn=admin --ldap_bind_creds ldap_server_password --ldap_users_group ou=People --state /home/ubuntu/datalab-state/ --cloud_provid [...]
+```


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org