Wednesday, November 13, 2024

Home (development) automation project

 It's been a long time since I posted here. My goal is to post a blog entry once a week. 

Currently I am working on creating a Minikube stand alone server using VMware workstation. I am running Ubuntu 24.01. So far things are going well. I am documenting the steps to setup Minikube using Notebook LM. I really like Notebook LM, the AI chat is pretty good. 

Back to the Minikube project, I have a few items I need to research. My goal is to complete the following 2 items next week or at the very least, learn enough to know if I need to change my approach.

  • Stop using DHCP for the bridge network adapter for the VMWare Ubuntu VM. I'm able to work around this using the DNS name. However, when running the dashboard-proxy, I get failures due to the IP address changing. 
    • This should be pretty easy, I just need to figure out the DHCP range my router uses and choose an IP that is not within the range.
  • While I was able to connect to some services, I would like to learn more about the egress and hopefully use third level domain naming.
    • This will take some time, I haven't tried customizing a DNS server. I have the basic concepts on how DNS works, but I am excited to learn how that works!

For reference, this is the dashboard-proxy error

error: error upgrading connection: error dialing backend: tls: failed to verify certificate: x509: certificate is valid for XXX.XXX.XXX.20, <IP6-address>, not XXX.XXX.XXX.43
Traceback (most recent call last):
  File "/snap/microk8s/7394/scripts/wrappers/dashboard_proxy.py", line 111, in <module>
    dashboard_proxy()
  File "/snap/microk8s/7394/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/snap/microk8s/7394/usr/lib/python3/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/snap/microk8s/7394/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/snap/microk8s/7394/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/snap/microk8s/7394/scripts/wrappers/dashboard_proxy.py", line 105, in dashboard_proxy
    check_output(command)
  File "/snap/microk8s/7394/usr/lib/python3.8/subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/snap/microk8s/7394/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/snap/microk8s/7394/microk8s-kubectl.wrapper', 'port-forward', '-n', 'kube-system', 'service/kubernetes-dashboard', '10443:443', '--address', '0.0.0.0']' returned non-zero exit status 1.


No comments:

Post a Comment