-
Notifications
You must be signed in to change notification settings - Fork 39.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.9 bug] v1.List error: unable to recognize apps/v1, Kind=DaemonSet: no matches for apps/, Kind=DaemonSet #58179
Labels
kind/bug
Categorizes issue or PR as related to a bug.
milestone/incomplete-labels
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
sig/apps
Categorizes an issue or PR as relevant to SIG Apps.
Comments
k8s-ci-robot
added
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
labels
Jan 12, 2018
cannot recreate this: list.yaml: apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: ServiceAccount
metadata:
name: sa
- apiVersion: apps/v1
kind: DaemonSet
metadata:
name: ds
spec:
selector:
matchLabels:
foo: bar
template:
metadata:
name: ds-pod
labels:
foo: bar
spec:
containers:
- name: c
image: busybox $ kubectl version -o json
{
"clientVersion": {
"major": "1",
"minor": "9",
"gitVersion": "v1.9.0",
"gitCommit": "925c127ec6b946659ad0fd596fa959be43f0cc05",
"gitTreeState": "clean",
"buildDate": "2018-01-13T07:11:58Z",
"goVersion": "go1.9.2",
"compiler": "gc",
"platform": "darwin/amd64"
},
"serverVersion": {
"major": "1",
"minor": "9",
"gitVersion": "v1.9.0",
"gitCommit": "925c127ec6b946659ad0fd596fa959be43f0cc05",
"gitTreeState": "clean",
"buildDate": "2018-01-13T07:11:58Z",
"goVersion": "go1.9.2",
"compiler": "gc",
"platform": "darwin/amd64"
}
}
$ kubectl create -f list.yaml --v=6
I0113 02:15:01.363925 99357 decoder.go:224] decoding stream as YAML
I0113 02:15:01.384853 99357 round_trippers.go:436] POST https://localhost:6443/api/v1/namespaces/default/serviceaccounts 201 Created in 16 milliseconds
serviceaccount "sa" created
I0113 02:15:01.412270 99357 round_trippers.go:436] POST https://localhost:6443/apis/apps/v1/namespaces/default/daemonsets 201 Created in 23 milliseconds
daemonset "ds" created |
That's weird, I will test it on more clusters and feed back soon. |
Closing since this isn't recreatable. Please reopen with more details if you can reproduce /close |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Categorizes issue or PR as related to a bug.
milestone/incomplete-labels
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
sig/apps
Categorizes an issue or PR as relevant to SIG Apps.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
What you expected to happen:
Should be able to use
- apiVersion: apps/v1
inv1.List
object.How to reproduce it (as minimally and precisely as possible):
Create a v1.List in 1.9 cluster with DaemonSet
Anything else we need to know?:
Environment:
kubectl version
): Kubernetes 1.9.0uname -a
):The text was updated successfully, but these errors were encountered: