Two pods running in different namespaces are returning different results 
from the same GET request.

i.e:

``` bash
curl \
  --insecure \
  -X "GET" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer 
$(</var/run/secrets/kubernetes.io/serviceaccount/token)" \
  "https://kubernetes.default:443/api/v1/namespaces/mynamespace/unseal-keys";

```

In pod 1, success! :
``` json 
{
  "kind": "Secret",
  "apiVersion": "v1",
  "metadata": {
    "name": "unseal-keys",
    "namespace": "mynamespace",
    "selfLink": "/api/v1/namespaces/mynamespace/secrets/unseal-keys",
    "uid": "f153d05b-11cd-11e8-91da-0a1480637ef0",
    "resourceVersion": "141164931",
    "creationTimestamp": "2018-02-14T21:28:04Z"
  },
  "data": {
    "one": "foo",
    "three": "bar",
    "two": "fizz",
    "five": "buzz",
    "four": "bazz"
  },
  "type": "Opaque"
}
```

in pod 2, failure:
``` json
Internal Server Error: 
"/api/v1/namespaces/mynamespace/secrets/unseal-keys": the server could not 
find the requested resource/
```

Any hints to why this might be happening?

Thanks in advance!

- Josh

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
  • [kubernetes-u... Josh Harshman
    • Re: [kub... 'Matthias Rampke' via Kubernetes user discussion and Q&A

Reply via email to