You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Prerequisiti

  • aver configurato correttamente kubectl usando il plugin kubectl-openstack
  • aver verificato che esista nel progetto CloudVeneto il security group K8S cosi' definito:

    EgressIPv4AnyAny0.0.0.0/0
    EgressIPv6AnyAny::/0
    IngressIPv4ICMPAny0.0.0.0/0
    IngressIPv4TCP22 (SSH)0.0.0.0/0
    IngressIPv4TCPAny192.168.60.0/24
    IngressIPv4UDPAny192.168.60.0/24
    IngressIPv4TCPAny10.64.0.0/16
    IngressIPv4UDPAny10.64.0.0/16

Come creare un nuovo nodo

Per la creare un nuovo nodo si usa kubectl, l'interfaccia standard di Kubernetes. Nello specifico si usa il comando kubectl apply che richiede in input un file yaml.

Il file yaml richiesto per creare un nuovo nodo deve avere la seguente struttura:

---
apiVersion: osnode.infn.it/v1
kind: OpenStackNode
metadata:
  name: NODE_NAME
spec:
  flavor: FLAVOR_NAME
  keyPair: YOUR_KEYPAIR
  policy: [shared | private ]



  • No labels