Add deployment status command and fix k8s output for deployment ps #679

Merged
telackey merged 6 commits from telackey/k8s_status into main 2023-12-06 16:27:48 +00:00
Member
#k8s

❯ laconic-so deployment --dir ~/cerc/stack-orchestrator/webapp-k8s-deployment ps
Running containers:
id: default/laconic-53c3b3daabcb046d-deployment-6678757546-w9ftx, name: laconic-53c3b3daabcb046d-deployment-6678757546-w9ftx, ports: 10.244.0.12:3000->3000

❯ laconic-so deployment --dir ~/cerc/stack-orchestrator/webapp-k8s-deployment status
Ingress:
        Hostname: thomas-app.laconic.servesthe.world
        IP: 165.227.242.15
        TLS: notBefore: 2023-12-01T19:12:55Z, notAfter: 2024-02-29T19:12:54Z

Pods:
        deafult/laconic-53c3b3daabcb046d-deployment-6678757546-w9ftx: Running (2023-12-05 21:12:22+00:00)


# docker

❯ laconic-so deployment --dir ~/opt/deployments/gitea ps
Running containers:
id: e6f0ffd498b7849b29b3f1b151f7370afec1701b416971073e222b45d5bb1342, name: laconic-c02f2c78ce3b2827-db-1, ports: 5432/tcp
id: f554eaae9682ae2227da0009e5c06e7d86112639745261b65877312e39d8603a, name: laconic-c02f2c78ce3b2827-runner-1, ports: 0.0.0.0:58556->8088/tcp
id: f7c10b64ae3af3baab8c107fd656eb39c3f5ce9185ce47096fc904b1765419ae, name: laconic-c02f2c78ce3b2827-server-1, ports: 0.0.0.0:222->22/tcp, 0.0.0.0:3000->3000/tcp

❯ laconic-so deployment --dir ~/opt/deployments/gitea status
laconic-c02f2c78ce3b2827-db-1   running
laconic-c02f2c78ce3b2827-runner-1       running
laconic-c02f2c78ce3b2827-server-1       running
``` #k8s ❯ laconic-so deployment --dir ~/cerc/stack-orchestrator/webapp-k8s-deployment ps Running containers: id: default/laconic-53c3b3daabcb046d-deployment-6678757546-w9ftx, name: laconic-53c3b3daabcb046d-deployment-6678757546-w9ftx, ports: 10.244.0.12:3000->3000 ❯ laconic-so deployment --dir ~/cerc/stack-orchestrator/webapp-k8s-deployment status Ingress: Hostname: thomas-app.laconic.servesthe.world IP: 165.227.242.15 TLS: notBefore: 2023-12-01T19:12:55Z, notAfter: 2024-02-29T19:12:54Z Pods: deafult/laconic-53c3b3daabcb046d-deployment-6678757546-w9ftx: Running (2023-12-05 21:12:22+00:00) # docker ❯ laconic-so deployment --dir ~/opt/deployments/gitea ps Running containers: id: e6f0ffd498b7849b29b3f1b151f7370afec1701b416971073e222b45d5bb1342, name: laconic-c02f2c78ce3b2827-db-1, ports: 5432/tcp id: f554eaae9682ae2227da0009e5c06e7d86112639745261b65877312e39d8603a, name: laconic-c02f2c78ce3b2827-runner-1, ports: 0.0.0.0:58556->8088/tcp id: f7c10b64ae3af3baab8c107fd656eb39c3f5ce9185ce47096fc904b1765419ae, name: laconic-c02f2c78ce3b2827-server-1, ports: 0.0.0.0:222->22/tcp, 0.0.0.0:3000->3000/tcp ❯ laconic-so deployment --dir ~/opt/deployments/gitea status laconic-c02f2c78ce3b2827-db-1 running laconic-c02f2c78ce3b2827-runner-1 running laconic-c02f2c78ce3b2827-server-1 running ```
dboreham approved these changes 2023-12-06 01:25:00 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#679
No description provided.