Comments (7)
Which command did you used to delete Gitea? Here's the bootstrap process:
make bootstrap
- Bootstrap installs ArgoCD and root ApplicationSets
- ApplicationSet
platform
looks into the directory structure ofplatform/
and creates Applications accordingly
Even if you deleted the gitea
Application, the ApplicationSet will recreate it automatically.
from homelab.
gitea was intermittently degraded on my setup, I ended up kubectl delete namespace gitea , thinking exactly what you mentioned. Make bootstrap however, doesn't seem to recreate gitea NS.
homelab/homelab]# make bootstrap
make -C bootstrap
make[1]: Entering directory '/home/homelab/homelab/bootstrap'
kubectl create namespace argocd --dry-run=client --output=yaml \
| kubectl apply -f -
namespace/argocd configured
cd argocd && ./apply.sh
NAME CLASS HOSTS ADDRESS PORTS AGE
argocd-server nginx argocd.REDACTED.com 192.168.1.224 80, 443 53d
--
--
customresourcedefinition.apiextensions.k8s.io/applicationsets.argoproj.io condition met
cd root && ./apply.sh
Error from server (NotFound): namespaces "gitea" not found
applicationset.argoproj.io/bootstrap unchanged
applicationset.argoproj.io/system unchanged
applicationset.argoproj.io/platform unchanged
applicationset.argoproj.io/apps unchanged
make[1]: Leaving directory '/home/homelab/homelab/bootstrap'
[nix-shell:/homelab/homelab]#
from homelab.
Yeah I just included make bootstrap
to explain the bootstrap process, but you don't need to run that again. Here's a few places to look:
- Is the namespace deleted or still terminating?
- Is there any dangling resources?
- What is the status of
ApplicationSet
andApplication
(usingkubectl describe
)
I would recommend deleting the Application
instead of deleting the namespace though, ArgoCD may try to reconcile the state while the namespace is being deleted.
from homelab.
Thanks for your comment.
- Namespace gitea has been deleted and I see no dangling resources
- [nix-shell:/home/homelab/homelab]# kubectl describe applicationset platform -n argocd
Name: platform
Namespace: argocd
Labels: argocd.argoproj.io/instance=root
Annotations: <none>
--
--
Status:
Conditions:
Last Transition Time: 2023-11-22T23:14:26Z
Message: error while checking out repo: Error during fetching repo: `git fetch origin master --tags --force --prune` failed exit status 128: fatal: unable to access 'https://github.com/sabhishek/homelab/': Could not resolve host: github.com
Reason: ApplicationGenerationFromParamsError
Status: True
Type: ErrorOccurred
There was a DNS issue in my homelab which I have resolved now.
- [nix-shell:/home/homelab/homelab]# kubectl describe apps gitea -n argocd
Name: gitea
Namespace: argocd
Labels: <none>
Annotations: <none>
API Version: argoproj.io/v1alpha1
Kind: Application
--
--
Status:
Conditions:
Last Transition Time: 2023-11-27T00:35:14Z
Message: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup argocd-repo-server on 10.43.0.10:53: read udp 10.42.0.116:43886->10.43.0.10:53: read: connection refused"
Type: ComparisonError
Last Transition Time: 2023-11-22T23:46:08Z
Message: dial tcp: lookup argocd-redis: i/o timeout
Type: DeletionError
--
--
Operation State:
Finished At: 2023-11-04T01:09:23Z
Message: ComparisonError: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup argocd-repo-server on 10.43.0.10:53: read udp 10.42.0.116:34434->10.43.0.10:53: i/o timeout" (retried 10 times).
Operation:
--
--
Warning StatusRefreshed 2m14s argocd-application-controller Unable to delete application resources: dial tcp: lookup argocd-redis: i/o timeout
Warning StatusRefreshed 2m13s argocd-application-controller Unable to delete application resources: dial tcp: lookup argocd-redis: i/o timeout
Warning StatusRefreshed 2m3s argocd-application-controller Unable to delete application resources: dial tcp: lookup argocd-redis: i/o timeout
Warning StatusRefreshed 2m3s argocd-application-controller Unable to delete application resources: dial tcp: lookup argocd-redis: i/o timeout
I have attempted to delete gitea app from the ArgoCD UI, it seems to be stuck :/
from homelab.
lookup argocd-repo-server on 10.43.0.10:53: read udp 10.42.0.116:43886->10.43.0.10:53: read: connection refused
lookup argocd-redis: i/o timeout
Are your argocd-repo-server
, argocd-redis
and coredns
pods still healthy?
from homelab.
Sorry for the late comment . Coredns wasn't healthy, I fixed the host dns issue and it was fixed as well. A minor problem, The applications got synced from GitHub and all my homelab apps are *.khuedon.com . I should be able to fix it.
Thanks for your help. Let me know if I could buy you a coffee .
from homelab.
Thank you for the offer, a list of sponsoring options can be found in the project sidebar under the "Sponsor this Project" section 😄
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.