Comments (11)
I also encountered the same phenomenon by following stable, installed v2.11.0 and rolled back.
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.11.0/manifests/install.yaml
from argo-cd.
Hi,
The issue is that Argocd tries to create a secret for Redis via Kubernetes API.
the current network policy does not allow Argocd Redis sever to even contact the Kubernetes API.
as a workaround we temporarily changed the network policy for redis: argocd-redis-network-policy:
and changed to pod selector:
podSelector:
matchLabels:
app.kubernetes.io/name: argocd-redis
change the selector to something like app.kubernetes.io/name: argocd-redis-tmp
after that delete the Redis pod, it will now be able to create the secret and the system will start running.
once everything is running, revert the network policy selector (remove "-tmp").
from argo-cd.
Download install.yaml and add Kubernetes API port (in my case 16443) to network policy:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: argocd-redis-network-policy
spec:
egress:
- ports:
- port: 53
protocol: UDP
- port: 53
protocol: TCP
- port: 16443
protocol: TCP
from argo-cd.
Same here, also rolled back to 2.11.0
from argo-cd.
Same here
from argo-cd.
same here, fixed by #18358
from argo-cd.
I have same issue with argocd-redis-ha-haproxy
from argo-cd.
We faced the same problem and also patched the argocd-redis-ha-proxy-network-policy
NetworkPolicy as workaround:
- ports:
- port: 443
protocol: TCP
from argo-cd.
In my case I had to use v2.11.0 and also update NetworkPolicy as above mentioned.
from argo-cd.
i had the same issue and patched the argocd-redis-network-policy
Networkpolicy as @Tomasz-Marciniak suggested.
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: argocd-redis-network-policy
spec:
egress:
- ports:
- port: 53
protocol: UDP
- port: 53
protocol: TCP
- port: 6443 # your kubernetes api port
protocol: TCP
ingress:
- from:
- podSelector:
matchLabels:
app.kubernetes.io/name: argocd-server
- podSelector:
matchLabels:
app.kubernetes.io/name: argocd-repo-server
- podSelector:
matchLabels:
app.kubernetes.io/name: argocd-application-controller
ports:
- port: 6379
protocol: TCP
podSelector:
matchLabels:
app.kubernetes.io/name: argocd-redis
policyTypes:
- Ingress
- Egress
from argo-cd.
Related Issues (20)
- FullscreenButton in PodsLogsViewer is not hinden when PodsLogsViewer is in full screen HOT 1
- Please allow disabling application spec in events HOT 1
- Add `no_proxy` field to repo-creds HOT 2
- manifest-generate-paths with autosync causes an undesirable refresh sync
- 2.11.0 -> 2.11.1 changed the Registry for Redis and HAProxy from Docker to Amazon ECR breaking Cosign verification HOT 8
- application-controller hung mid-processing
- Add livenessProbe for argocd-application-controller HOT 1
- Large binary log output in Loki
- Server-Side Diff shows OutOfSync despite ignoreDifferences enabled and slow reconciliation performance
- Refresh Failed: can not refresh repository which contains submodules cause argocd modified some files
- helm post-delete hooks is not working with argocd as expected
- The order of sources (git/helm) in multi-source application matters in case of app diff & manifests features HOT 1
- AppProjects don't check all namespaces before finalizing deletion HOT 1
- Concurrency Issue with Slugify Function HOT 1
- UI error HOT 1
- Unable to override json value when using multiple sources to build argocd application HOT 1
- Generic Web API Provider Configuration
- argocd app sync --preview-changes actually performes sync HOT 1
- Argo CD validating duplicate variables and causing sync issues HOT 1
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 argo-cd.