Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Implement functionality for stacks and accessing running services #10

Closed
sbernauer opened this issue May 5, 2022 · 1 comment
Closed
Assignees

Comments

@sbernauer
Copy link
Member

sbernauer commented May 5, 2022

Re-implement https://github.com/stackabletech/integration-tests/blob/main/access_services.py
Implemented by #36

@sbernauer sbernauer self-assigned this Jun 14, 2022
@sbernauer sbernauer changed the title Implement funtionality to access running services Implement funtionality for stacks and accessing running services Jul 18, 2022
@sbernauer sbernauer changed the title Implement funtionality for stacks and accessing running services Implement functionality for stacks and accessing running services Jul 18, 2022
bors bot pushed a commit that referenced this issue Aug 9, 2022
This PR adds two new subcommands:
* Stacks to install ready-to-use product sets
* Services which allows users to list and access the running services (#10)

The structure of the `stacks.yaml` still needs to be discussed with @lfrancke and might be adopted to the porter.yaml style.
Listing of services is a mechanism i came up with, so is ready to review as is :)

To test the stack command run
```
cargo r --additional-stack-files stacks.yaml stack install druid-superset-s3 -k
```
To test the listing of services (this command was run after installing the stack `druid-superset-s3` and a bunch of other products)
```
cargo r -- services ls 
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s
     Running `target/debug/stackablectl services ls`
PRODUCT      NAME                                     NAMESPACE                      ENDPOINTS                                          EXTRA INFOS
airflow      airflow                                  default                        webserver-airflow:   http://172.18.0.4:31206       Admin user: airflow, password: airflow
druid        druid                                    default                        router-http:         http://172.18.0.4:32126       
                                                                                     coordinator-http:    http://172.18.0.4:30347       
hbase        simple-hbase                             default                        regionserver:        172.18.0.4:32413              
                                                                                     ui:                  http://172.18.0.4:32051       
                                                                                     metrics:             172.18.0.4:30504              
hdfs         simple-hdfs                              default                        datanode-default-0-metrics: 172.18.0.4:32607       
                                                                                     datanode-default-0-data: 172.18.0.4:30655          
                                                                                     datanode-default-0-http: http://172.18.0.4:32340   
                                                                                     datanode-default-0-ipc: 172.18.0.4:31295           
                                                                                     namenode-default-0-metrics: 172.18.0.3:31541       
                                                                                     namenode-default-0-http: http://172.18.0.3:31669   
                                                                                     namenode-default-0-rpc: 172.18.0.3:32286           
                                                                                     journalnode-default-0-metrics: 172.18.0.5:30631    
                                                                                     journalnode-default-0-http: http://172.18.0.5:31961 
                                                                                     journalnode-default-0-https: https://172.18.0.5:30133 
                                                                                     journalnode-default-0-rpc: 172.18.0.5:31222        
hive         simple-hive-derby                        default                        hive:                172.18.0.4:30560              
                                                                                     metrics:             172.18.0.4:31796              
superset     superset                                 default                        external-superset:   http://172.18.0.3:30067       Admin user: admin, password: admin
trino        simple-trino                             default                        coordinator-http:    http://172.18.0.5:31395       
                                                                                     coordinator-metrics: 172.18.0.5:32214              
zookeeper    druid-zookeeper                          default                        zk:                  172.18.0.3:32220              
zookeeper    simple-zk                                default                        zk:                  172.18.0.5:32548              
minio        minio-druid                              default                        http:                http://172.18.0.5:30054       Third party service
                                                                                     console-http:        http://172.18.0.5:31771       Admin user: root, password: rootroot
```
@sbernauer
Copy link
Member Author

Implemented in #36

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant