Question: @mikej if you deploy a stateful set you do not see any pods what would you do ? :smile:

Asked By
edmondo.porcu
Asked At
2018-01-27 16:02:17

Found 15 possible answers.

User Answered At Possible Answer
mikej 2018-01-27 16:02:39 in older versinos of k8s it was an annotation; @edmondo.porcu describe the statefulset you should see the events in it, then kubectl get events if you dont see what you need @mikej uploaded a file: Untitled https://kubernetes.slack.com/files/U1A92LHRS/F90GHCUJ2/-.yaml
edmondo.porcu 2018-01-27 16:03:15 describe thanks ok
mikej 2018-01-27 16:03:33 ive never used statefulsets so ymmv, i ripped all of my stateful stuff out of k8s
edmondo.porcu 2018-01-27 16:03:41 so
bryanalves 2018-01-27 16:03:43 @mikej are you referring to externalTrafficPolicy? changing that doesn't affect this at all
edmondo.porcu 2018-01-27 16:03:49 create Pod cr2-0 in StatefulSet cr2 failed error: Pod "cr2-0" is invalid: spec.containers[0].resources.requests: Invalid value: "6Gi": must be less than or equal to memory limit how do I give more memory to minikube ? :smile:
mikej 2018-01-27 16:04:12 @bryanalves what version of k8s? minikube start --vm-driver=hyperkit --memory=4096 --cpus=2
bryanalves 2018-01-27 16:04:26 @mikej 1.9
mikej 2018-01-27 16:04:46 hm i use that in prod to maintain sourceip
bryanalves 2018-01-27 16:05:18 maybe it's something with my CNI provider? i'm using kube-router
mikej 2018-01-27 16:05:26 well i havent switched to the externaltrafficonly im still using the annotation due to old k8s version im not familiar with kube-router so hopefully it works when i deploy 1.9 next week
edmondo.porcu 2018-01-27 16:05:51 uhm
mikej 2018-01-27 16:06:57 urce IP is preserved if service controller is used in conjuction with network routes controller (kube-router with --run-router flag)
bryanalves 2018-01-27 16:07:18 @mikej yah i'm not observing that, and i'm trying to find out what I did wrong
mikej 2018-01-27 16:07:51 sounds like its supposed to basically by default, might have to put an issue in

Related Questions