Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

talos integration #299

Merged
merged 3 commits into from
Feb 2, 2023
Merged

talos integration #299

merged 3 commits into from
Feb 2, 2023

Conversation

alessandroargentieri
Copy link
Member

@alessandroargentieri alessandroargentieri commented Feb 1, 2023

here the example:

~/work/cli (⌥ master) $ alias cli='go run main.go'
~/work/cli (⌥ master) $ cli kube version ls --config=$HOME/.civo.staging.json
+--------------+-------------+--------------+-------------+---------+
| Name         | K8s version | Cluster-Type | Maturity    | Default |
+--------------+-------------+--------------+-------------+---------+
| 1.24.4-k3s1  | 1.24.4      | k3s          | development | false   |
| 1.23.6-k3s1  | 1.23.6      | k3s          | stable      | true    |
| 1.25.0-k3s1  | 1.25.0      | k3s          | development | false   |
| talos-v1.2.8 | 1.25.5      | talos        | stable      | true    |
+--------------+-------------+--------------+-------------+---------+
~/work/cli (⌥ master) $ cli kube ls
+--------------------------------------+---------------------+--------------+--------+-------+-------+--------+
| ID                                   | Name                | Cluster-Type | Region | Nodes | Pools | Status |
+--------------------------------------+---------------------+--------------+--------+-------+-------+--------+
| a86b2f9b-e626-47cf-b084-bbe32b9d448b | volumesexample      | k3s          | LON1   |     3 |     1 | ACTIVE |
| 40c3627b-1e0c-47d1-8904-ed6726f68d55 | icy-deer            | k3s          | LON1   |     3 |     1 | ACTIVE |
| efe9db41-bf62-4619-b436-890a2b4aa52f | crossplane-e2e-test | k3s          | LON1   |     3 |     1 | ACTIVE |
+--------------------------------------+---------------------+--------------+--------+-------+-------+--------+
~/work/cli (⌥ master) $ cli k3s ls --config=$HOME/.civo.staging.json
+--------------------------------------+------------+--------------+---------+-------+-------+--------+
| ID                                   | Name       | Cluster-Type | Region  | Nodes | Pools | Status |
+--------------------------------------+------------+--------------+---------+-------+-------+--------+
| a9533c8e-6496-4185-9650-429837551559 | alex-talos | talos        | STAGING |     1 |     1 | ACTIVE |
+--------------------------------------+------------+--------------+---------+-------+-------+--------+
~/work/cli (⌥ master) $ cli k3s show a86b2f9b-e626-47cf-b084-bbe32b9d448b
                    ID : a86b2f9b-e626-47cf-b084-bbe32b9d448b
                  Name : volumesexample
           ClusterType : k3s
                Region : LON1
                 Nodes : 3
                  Size : g4s.kube.medium
...
~/work/cli (⌥ master) $ cli kube create another-talos --cluster-type=talos --config=$HOME/.civo.staging.json
The cluster another-talos (15f38783-bdcd-433a-bb5d-fa7a499f5d8e) has been created
~/work/cli (⌥ master) $ cli kube ls --config=$HOME/.civo.staging.json
+--------------------------------------+---------------+--------------+---------+-------+-------+----------+
| ID                                   | Name          | Cluster-Type | Region  | Nodes | Pools | Status   |
+--------------------------------------+---------------+--------------+---------+-------+-------+----------+
| a9533c8e-6496-4185-9650-429837551559 | alex-talos    | talos        | STAGING |     1 |     1 | ACTIVE   |
| 15f38783-bdcd-433a-bb5d-fa7a499f5d8e | another-talos | talos        | STAGING |     3 |     1 | BUILDING |
+--------------------------------------+---------------+--------------+---------+-------+-------+----------+

Copy link
Member

@alejandrojnm alejandrojnm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alessandroargentieri alessandroargentieri merged commit 30153ee into master Feb 2, 2023
@alessandroargentieri alessandroargentieri deleted the talos-integration branch February 2, 2023 09:21
@alessandroargentieri alessandroargentieri self-assigned this Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants