...
Code Block |
---|
|
$ kubectl apply -f osnode.yml
openstacknode.osnode.infn.it/osn-01 created
openstacknode.osnode.infn.it/osn-02 created |
Come verificare lo stato di uno nodo o piu' nodi
Per verificare lo stato di un nodo si usa il comando kubectl get osn -o wide (l'opzione -o wide aggiunge informazioni relative alla VM):
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 |