This message was deleted.
# harvester
a
This message was deleted.
you can create a file named
99_custom.yaml
in
/oem
directory and place the following content:
Copy code
"stages":
  "initramfs":
      "files":
        - "content": |
            node-ip: 10.1.1.10
            node-external-ip: 144.76.XX.XX
            "encoding": ""
            "group": 0
            "owner": 0
            "ownerstring": ""
            "path": "/etc/rancher/rke2/config.yaml.d/90-harvester-network.yaml"
            "permissions": 384
b
great let me check it out
and thanks!
b
after you do this, make sure to restart the harvester node and after boot, you will have to wait a few minutes, after that you can ssh into harvester and check:
Copy code
sudo su
kubectl get nodes -o wide
b
where is the file excatly?
got it now
have to create the file
👍 1
b
ssh rancher@<HARVESTER_NODE_IP> you have to create
/oem/99_custom.yaml
file which will override the changes from
/oem/90_custom.yaml
b
on all my nodes right?
b
hmm, i think so.. please be aware that i’m not an harvester expert, i just had the same problem a few days ago..
b
yes yes no, I am just testing stuff out now
b
why do you need to set the external ip?
b
I want try out and use harvester v1.2.x as a normal cluster with ingress stuff and so on - so not only VMs
v1.2.x should be ready for that
b
well, setting an external ip will not help in this direction
most likely, you will have to deploy a kuberentes cluster in Harvester VMs
b
trying to avoid that
b
well, Harvester has a built-in RKE2 kubernetes cluster, but it’s not recommended to use it for deploying your application
you can deploy kuberentes in Harvester VMs using Rancher (

https://www.youtube.com/watch?v=tVsMen_e6OI

)
if you want a very simple Kuberentes cluster, you can use RKE2 (https://docs.rke2.io/install/quickstart) and then deploy Longhorn separatelly to have the storage layer
b
Thanks I was under the impression that v1.2.x was ready for deployment of applications
b
v1.2 might be ready for production, but it’s not appropriate to use like you want to use it
b
damn, but thx
b
Harvester is a HCI (https://docs.harvesterhci.io/v1.1/), on top of Harvester you can deploy Kuberentes