homelab | My homelab Kubernetes Cluster , powered by GitOps | Continuous Deployment library
kandi X-RAY | homelab Summary
kandi X-RAY | homelab Summary
My homelab Kubernetes cluster, automated with Flux and inspired by billimek/k8s-gitops.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of homelab
homelab Key Features
homelab Examples and Code Snippets
Community Discussions
Trending Discussions on homelab
QUESTION
some time ago I've created ansible playbook for provisioning of new VMs to proxmox environment in my homelab via ansible. The catch is that after reinstalling my proxmox nodes last week, ansible playbook responsible for cloning of my debian template stopped working for some reason.
My playbook looks like this:
...ANSWER
Answered 2022-Mar-09 at 14:18This seems to be a bug in the Proxmox_kvm Ansible Module. I have the same issue with the same code. I found this bugreport: https://github.com/ansible-collections/community.general/issues/4278, fixes are already merged but not released yet.
In the meantime I fixed this by installing the Ansible community.general collection following this manual: https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#installing-a-collection-from-a-git-repository
To checkout the latest commit of the Collection, run:
QUESTION
I have homelab.
Window Host
and Vmware workstation
ANSWER
Answered 2021-Oct-20 at 15:24You can use local
volume instead of hostPath
to experiment with SC/PVC/PC. First, you create the StorageClass:
QUESTION
I am working on Spark Scala using IntelliJ IDE, Recently I installed Scala and Spark in my local and there was system update for mac-os version, so not sure what broke it.
I am getting error when I try to build my project now, Which was working fine a day before. I checked for JRE vs JDK as suggested in other answers and I am sure that my project is pointing to JDK 1.8. Also I removed Scala and Spark from machine to make sure my machine is in same state as before. Still I am getting this error. Checked existing answers on same error, but no help.
...ANSWER
Answered 2021-Sep-22 at 11:37The problem was due to mac-os Big Sur update, contrary to what I thought the root cause is (installing scala). So I solved this following this answer here at apple forum: https://developer.apple.com/forums/thread/666681
QUESTION
I've sucessfully installed MetalLB on my Bare Metal Kubernetes cluster, but only pods assigned to the master Node seems to work.
MLB is configured on layer2, in the range of 192.168.0.100-192.168.0.200, and pods do get an IP when assigned to worker nodes, but those ips do not respond to any request.
If the assigned ip is curled inside the node, it works, yet if its curled from another node or machine, it doesnt respond.
Example:
...ANSWER
Answered 2021-Apr-16 at 12:09i figured out, after Matt response, it was the firewall that was blocking the access, so i just simply added the whole network to the port 80 and it worked.
QUESTION
I am trying to use Keycloak with Oauth2 to secure kubernetes-dashboard. I found several post about this error, but none was specific for my problem. maybe i just miss a simple step ..
so far i followed this guide: https://jamesveitch.com/homelab/02.idam/02.keycloak/
Keycloak is installed at the kubernetes cluster within the namespace keycloak. Kubernetes-dashboard is installed within the namespace kubernetes-dashboard.
Keycloak is reachable under auth.mydomain.com and the dashboard should be reachbale under dashboard.mydomain.com.
I have created a user "test" and assigned a group kubernetes-admin which i would use to grant access to the dashboard.
I configured Keycloak like this:
- Created a new realm "dev"
- Created a User test and a group kubernetes-admin
- Created a new client "dashboard"
- Access Type: confidential
- Service Account enabled: on
- Valid Redirect Url: https://dashboard.mydomain.com/oauth/callback
- Created a Mapper for groups (Type: Group Membership, TokenClaimName:groups)
For Clusterbinding of kubernetes-admin i use this yaml:
...ANSWER
Answered 2020-Nov-03 at 13:37I just found out how to handle this error:
First, we need to change the URL within keycloak to https://dashboard.mydomain.com/*
Under the dashboard - Mapper - groups deactivate the full group path .. This removes the leading slash of groups within your token ( you can check at Client Sope - Evaluate) This is needed for the oauth2 parameter --keycloak-group=kubernetes-admin
Create a Client Scope "Users" under the dev realm - at Client Scopes with default values
Now change to the second Tab "Default Client Scope" under Client Scopes and assign "Users" as Default Client Scope
Add this Client Scope "Users" under Client -> Dashboard - Client Scope
Add the -scope parameter to the oauth2 development : --scope=users
The upstream is correct assigend in above sample to access the dashboard directly within the cluste. So no change needed there.
After this you should be able to open the dashboard without errors. But i still have a problem that the bearer token is sent, but currently not used to login automatically.. you still have to paste your token.. So i still investigate to get this work..
QUESTION
I found this Pass date command as parameter to kubernetes cronjob which is similar, but did not solve my problem.
I'm trying to backup etcd using a cronjob, but etcd image doesn't have "date" command.
...ANSWER
Answered 2020-Oct-27 at 11:54You can use printf like this:
QUESTION
I have a React project that uses an array of colors for styling a few things:
...ANSWER
Answered 2020-Jul-25 at 17:32I think this should do the job for you:
QUESTION
I have a Job that calls other jobs as sort of a main run-file. I execute a preliminary check, which sets some values on a management server that I have to ensure I don't get any erroneous alerts due to the updates being run.
The preliminary job executes fine, but the conditional that comes right after it, ALWAYS outputs the status of:
{{UUID}} is NOT RUNNING AND previously NEVER. Expected NOT RUNNING AND 'Succeeded'
No matter what I do, I can't figure out if either I'm doing something wrong or if I just have something misconfigured, or if the conditionals are just broken. This is a small install for my homelab of about 10 servers, so I'm running with the default database back end, not MySQL or something else, so I don't know if that's an issue.
My Rundeck detail
...ANSWER
Answered 2020-Jun-15 at 18:44Verify the job state conditional expectation, I leave an example on 3.2.8 that works. Basically Job Step Conditional expects another job last execution as successfully, anything different of that makes the condition fails.
HelloWorld job:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install homelab
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page