Comments (10)
Have you export KUBECONFIG=metal/kubeconfig.yaml
?
from homelab.
Thank you, after exporting KUBECONFIG kubectl works but still
[nix-shell:~/homelab-private]$ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
argocd argocd-application-controller-0 1/1 Running 0 2d10h
argocd argocd-applicationset-controller-558b95cdcf-67qqh 1/1 Running 0 2d10h
argocd argocd-notifications-controller-f6ddf4fd7-9zlwz 1/1 Running 0 2d10h
argocd argocd-redis-5db875d5cb-zdrdj 1/1 Running 0 2d10h
argocd argocd-repo-server-7dfb8c9fc7-dhgkt 1/1 Running 0 2d10h
argocd argocd-server-65978d79cb-62799 1/1 Running 0 2d10h
kube-system coredns-7b5bbc6644-bmhhq 1/1 Running 0 2d10h
kube-system metrics-server-667586758d-d5t22 1/1 Running 0 2d10h
[nix-shell:~/homelab-private]$ kubectl get svc -A
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
argocd argocd-applicationset-controller ClusterIP 10.43.4.147 <none> 7000/TCP 2d10h
argocd argocd-redis ClusterIP 10.43.38.34 <none> 6379/TCP 2d10h
argocd argocd-repo-server ClusterIP 10.43.141.255 <none> 8081/TCP 2d10h
argocd argocd-server ClusterIP 10.43.206.158 <none> 80/TCP,443/TCP 2d10h
default kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 2d10h
kube-system kube-dns ClusterIP 10.43.0.10 <none> 53/UDP,53/TCP,9153/TCP 2d10h
kube-system metrics-server ClusterIP 10.43.110.127 <none> 443/TCP 2d10h
and make test log attached
make-test.log
Any suggestions?
from homelab.
Can you get the status of the applications?
kubectl get applications -n argocd
from homelab.
[nix-shell:~/homelab-private]$ kubectl get applications -n argocd
No resources found in argocd namespace.
few status terminating today
[nix-shell:~/homelab-private]$ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
argocd argocd-application-controller-0 1/1 Running 0 2d17h
argocd argocd-applicationset-controller-558b95cdcf-67qqh 1/1 Running 0 2d17h
argocd argocd-notifications-controller-f6ddf4fd7-9zlwz 1/1 Running 0 2d17h
argocd argocd-redis-5db875d5cb-zdrdj 1/1 Running 0 2d17h
argocd argocd-repo-server-7dfb8c9fc7-dhgkt 1/1 Terminating 0 2d17h
argocd argocd-repo-server-7dfb8c9fc7-jv8pn 1/1 Running 0 5h47m
argocd argocd-server-65978d79cb-62799 1/1 Terminating 0 2d17h
argocd argocd-server-65978d79cb-jzsvr 1/1 Running 0 5h47m
kube-system coredns-7b5bbc6644-bmhhq 1/1 Running 0 2d17h
kube-system metrics-server-667586758d-d5t22 1/1 Terminating 0 2d17h
kube-system metrics-server-667586758d-sb72k 1/1 Running 0 5h47m
from homelab.
Look like there's no Application, here's another command to check the ApplicationSet:
kubectl get applicationsets -n argocd
from homelab.
[nix-shell:~/homelab-private]$ kubectl get applicationsets -n argocd
NAME AGE
apps 2d19h
bootstrap 2d19h
platform 2d19h
system 2d19h
from homelab.
So there's ApplicationSet but no Application, look like there's a problem with Application generation. You can check it with one of the ApplicationSet, for example:
kubectl describe applicationset -n argocd system
from homelab.
-
hmm shouldn't these variables be replaced by their values?
Name: {{path.basename}}
.... ? -
"error while checking out repo: Error during fetching repo:
git fetch origin master --tags --force --prune
failed exit status 128: fatal: could not read Username for 'https://github.com': No such device or address"
this maybe because i have it in a private repo? although git commands work commit push pull etc
[nix-shell:~/homelab-private]$ kubectl describe applicationset -n argocd system
Name: system
Namespace: argocd
Labels: <none>
Annotations: <none>
API Version: argoproj.io/v1alpha1
Kind: ApplicationSet
Metadata:
Creation Timestamp: 2023-05-23T21:43:53Z
Generation: 1
Managed Fields:
API Version: argoproj.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
.:
f:generators:
f:template:
.:
f:metadata:
.:
f:name:
f:spec:
.:
f:destination:
.:
f:name:
f:namespace:
f:project:
f:source:
.:
f:path:
f:repoURL:
f:targetRevision:
f:syncPolicy:
.:
f:automated:
.:
f:prune:
f:selfHeal:
f:retry:
.:
f:backoff:
.:
f:duration:
f:factor:
f:maxDuration:
f:limit:
f:syncOptions:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2023-05-23T21:43:53Z
API Version: argoproj.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:status:
.:
f:conditions:
Manager: argocd-applicationset-controller
Operation: Update
Subresource: status
Time: 2023-05-23T21:44:29Z
Resource Version: 1145
UID: 970f7965-38da-4e9e-9034-3bd77eb70aeb
Spec:
Generators:
Git:
Directories:
Path: system/*
Repo URL: https://github.com/MCP-LTS/homelab-private
Revision: master
Template:
Metadata:
Name: {{path.basename}}
Spec:
Destination:
Name: in-cluster
Namespace: {{path.basename}}
Project: default
Source:
Path: {{path}}
Repo URL: https://github.com/MCP-LTS/homelab-private
Target Revision: master
Sync Policy:
Automated:
Prune: true
Self Heal: true
Retry:
Backoff:
Duration: 1m
Factor: 2
Max Duration: 16m
Limit: 10
Sync Options:
CreateNamespace=true
ApplyOutOfSyncOnly=true
ServerSideApply=true
Status:
Conditions:
Last Transition Time: 2023-05-23T21:44:29Z
Message: error while checking out repo: Error during fetching repo: `git fetch origin master --tags --force --prune` failed exit status 128: fatal: could not read Username for 'https://github.com': No such device or address
Reason: ApplicationGenerationFromParamsError
Status: True
Type: ErrorOccurred
Last Transition Time: 2023-05-23T21:44:29Z
Message: error while checking out repo: Error during fetching repo: `git fetch origin master --tags --force --prune` failed exit status 128: fatal: could not read Username for 'https://github.com': No such device or address
Reason: ErrorOccurred
Status: False
Type: ParametersGenerated
Last Transition Time: 2023-05-23T21:44:29Z
Message: error while checking out repo: Error during fetching repo: `git fetch origin master --tags --force --prune` failed exit status 128: fatal: could not read Username for 'https://github.com': No such device or address
Reason: ApplicationGenerationFromParamsError
Status: False
Type: ResourcesUpToDate
Events: <none>
from homelab.
- No it will be generated by ApplicationSet.
- Yes, it can't clone without authentication because you have a private repo.
Closing as private repo is not supported (see the license). Please open a new one if you have a different issue after you've made the repo public.
from homelab.
Sorry my bad i did not do it intentionally to break the license terms.
What i suggest and hence i tried a private repository is to avoid publishing at github the homelab url. Maybe should be kept with the rest secrets. The first part with fixes i sent here for shell.nix i think should be added to the main branch.
Thank you.
from homelab.
Related Issues (20)
- System-upgrade was removed HOT 1
- Add idm_admin creation to kanidm admin reset script? HOT 1
- gitea and 4 other services in a degraded state HOT 5
- Contact Point of AlertManager is absent HOT 5
- Adding a second dedicated network interface for longhorn replication HOT 4
- [Feature request] Add VPN egress HOT 3
- Kubernetes cluster unreachable: x509: certificate signed by unknown authority HOT 1
- Failed to install ArgoCD HOT 5
- Command: make tools, error HOT 2
- Getting errors on bootstrap phase with ApplicationSets HOT 1
- Cannot add master node HOT 3
- Add Infro PR Checks? HOT 1
- Not an Issue : Just a question about nodes HOT 1
- Question about cilium HOT 1
- cloudflare terraform deprecation and cloudflared failing HOT 1
- dex secret not found HOT 5
- [Suggestion] Replace terraform with opentofu HOT 1
- Issues Global-Secret Generated Secrets HOT 1
- ArgoCD Manifest error
- Argocd Apply Manifests Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homelab.