...
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
|
$ kubectl get osn
NAME PHASE OWNER POLICY PROVIDER VM IPV4 AGE
osn-01 Running zangrand-at-infn.it private CloudVeneto 10.64.53.40 169m
osn-02 Running zangrand-at-infn.it shared CloudVeneto 10.64.53.67 169m
$ kubectl get osn -o wide
NAME PHASE OWNER POLICY PROVIDER VM FLAVOR VM STATUS VM IPV4 AGE
osn-01 Running zangrand-at-infn.it private CloudVeneto cloudveneto.medium ACTIVE 10.64.53.40 169m
osn-02 Running zangrand-at-infn.it shared CloudVeneto cloudveneto.medium ACTIVE 10.64.53.67 169m
$ kubectl get osn -o wide osn-01
NAME PHASE OWNER POLICY PROVIDER VM FLAVOR VM STATUS VM IPV4 AGE
osn-01 Running zangrand-at-infn.it private CloudVeneto cloudveneto.medium ACTIVE 10.64.53.40 169m |
Per avere una descrizione completa sullo stato di un nodo eseguire il comando kubectl describe osn:
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
|
$ kubectl describe osn osn-01
Name: osn-01
Namespace: glv
Labels: SECRET=bootstrap-token-t9d7lt
osn.infn.it/project-id=6dae634709c4478d92f70c388897fc96
osn.infn.it/project-name=GLV
osn.infn.it/user-id=2ddd446e119b417791492e950553a055
osn.infn.it/user-name=zangrand-at-infn.it
Annotations: <none>
API Version: osnode.infn.it/v1
Kind: OpenStackNode
Metadata:
Creation Timestamp: 2023-08-31T07:44:04Z
Finalizers:
openstacknode/finalizer
Generation: 2
Resource Version: 22448826
UID: da56df91-d78f-4547-b1ca-b4736cf8120b
Spec:
Availability Zone: nova
Flavor: cloudveneto.medium
Image:
Id:
Name:
Key Pair: Lisa
Policy: private
Provider: CloudVeneto
Region: regionOne
Security Groups:
K8S
User Data:
Status:
Created: 2023-08-31T07:47:05Z
Description: The node is running
Nodeid: osn-01-1693467852782
Phase: Running
Server:
Created: 2023-08-31T07:44:15Z
Id: f749c90f-844a-435c-848d-886f02cde706
ipv4: 10.64.53.40
Name: osn-01
Status: ACTIVE
Updated: 2023-08-31T10:37:05Z
Updated: 2023-08-31T10:37:05Z
Events: <none> |