diff --git a/service-provider.md b/service-provider.md index 2dbbe2f..847a90e 100644 --- a/service-provider.md +++ b/service-provider.md @@ -8,7 +8,6 @@ Follow steps from @@ -389,24 +388,28 @@ Follow the steps given below to connect the webapp-deployer to testnet2 laconic-so deployment --dir webapp-deployer start ``` - * Get the most recent pod id +* Get the webapp-deployer pod id - ```bash - kubie ctx default - kubectl get pods - ``` + ```bash + laconic-so deployment --dir webapp-deployer ps - * Copy the GPG key file to the webapp-deployer container + # Expected output + # Running containers: + # id: default/laconic-096fed46af974a47-deployment-644db859c7-snbq6, name: laconic-096fed46af974a47-deployment-644db859c7-snbq6, ports: 10.42.2.11:9555->9555 - ```bash - # Get the webapp-deployer pod id - kubectl get pods --sort-by=.metadata.creationTimestamp -o jsonpath='{.items[-1].metadata.name}' - # laconic-ac473c31db9ac9fd-deployment-674bf7bf9f-529bs + # Set pod id + export POD_ID= + # Example: + # export POD_ID=laconic-096fed46af974a47-deployment-644db859c7-snbq6 + ``` - # Copy the GPG key files to the pod - kubectl cp laconic-ac473c31db9ac9fd-deployment-674bf7bf9f-529bs:/app - kubectl cp laconic-ac473c31db9ac9fd-deployment-674bf7bf9f-529bs:/app - ``` +* Copy the GPG key file to the webapp-deployer container + + ```bash + # Copy the GPG key files to the pod + kubectl cp POD_ID:/app + kubectl cp POD_ID:/app + ```` * Check logs