Replies: 2 comments 1 reply
-
Hi @jeusdi , thanks for starting this discussion!
|
Beta Was this translation helpful? Give feedback.
-
While I was trying to troubleshoot the problem, I have tried to use I've deployed apiVersion: k3d.io/v1alpha3
kind: Simple
name: salut
servers: 1
agents: 2
ports:
- port: 8000:32080
nodeFilters:
- server:0:direct
- port: 8443:32443
nodeFilters:
- server:0:direct
- port: 9000:32090
nodeFilters:
- server:0:direct
- port: 20017:30017
nodeFilters:
- server:0:direct
- port: 20018:30018
nodeFilters:
- server:0:direct
registries:
config: |
mirrors:
"registry.localhost:5000":
endpoint:
- http://host.k3d.internal:5000
options:
k3d:
wait: true
timeout: "60s"
disableLoadbalancer: true
disableImageVolume: false
disableRollback: true
k3s:
extraArgs:
- arg: '--disable=traefik,servicelb'
nodeFilters:
- server:*
kubeconfig:
updateDefaultKubeconfig: true
switchCurrentContext: true As you can see: k3d:
disableLoadbalancer: true
k3s:
extraArgs:
- arg: '--disable=traefik,servicelb'
Also, I've not quite figure out how to configure I mean, I've been able to configure configInline:
address-pools:
- name: default
protocol: layer2
addresses:
- "172.28.0.0/16" pool ips are extracted from k3d docker network assigned to created cluster: output of {
"Subnet": "172.28.0.0/16",
"Gateway": "172.28.0.1"
} Nodes have assigned those ips: Output of
Next question is:
I mean, when I'm trying to get access from my host to my cluster, I'm only be able to reach it using I mean, if I deploy four |
Beta Was this translation helpful? Give feedback.
-
Currently, I'm getting this message when I'm trying to deploy
bitnami/mongodb
helm chart.I've deployed
bitnami/mongodb
helm chart using options:Important helm values are:
Just above options do deploy an
LoadBalancer
for each mongodb node.In my case, I've deployed two nodes, so I have two
LoadBalancer
s.$ kubectl get service
output:$ kubectl get service -o=yaml mongodb-0-external
output:$ kubectl get service -o=yaml mongodb-1-external
output:My k3d cluster has 2 agents and 1 server:
$ kubectl get nodes
output:So, several
svclb-mongodb*
-like pods are created:Problem here is that some of them are is
Pending
status.I've took a look on those
Pending
pods events:I don't quite figure out what's exactly hapenning.
LoadBalancer
s are requesting for getting27017
port? Could it be that the problem? How could I solve it?Beta Was this translation helpful? Give feedback.
All reactions