Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

outdated manifests don't allow creation of DaemonSet #59

Open
sanyer opened this issue Nov 8, 2019 · 3 comments
Open

outdated manifests don't allow creation of DaemonSet #59

sanyer opened this issue Nov 8, 2019 · 3 comments

Comments

@sanyer
Copy link

sanyer commented Nov 8, 2019

According to kubectl changelog for 1.15.0:

The following APIs are no longer served by default:

  • All resources under apps/v1beta1 and apps/v1beta2 - use apps/v1 instead
  • daemonsets, deployments, replicasets resources under extensions/v1beta1 - use apps/v1 instead
  • networkpolicies resources under extensions/v1beta1 - use networking.k8s.io/v1 instead
  • podsecuritypolicies resources under extensions/v1beta1 - use policy/v1beta1 instead
@andbuitra
Copy link

andbuitra commented Jan 17, 2020

Indeed. This issue is affecting Kubernetes 1.16+. I will try to work on a pull request for this; it shouldn't be that hard.

[EDIT] Now that I checked on the docs site it does say that the apiVersion has to be manually changed from the manifest (https://docs.fluentbit.io/manual/installation/kubernetes#note-for-kubernetes-v-1-16). However this is not enough as "spec" expects a "selector" property and the manifest will be rejected without it. Sadly this is not reflected on the repo's README. Maybe @edsiper could take a look?

@andbuitra
Copy link

I double checked and this in fact is fixed on PR #66

030 pushed a commit to 84flix/fluent-bit-kubernetes-logging that referenced this issue May 10, 2020
030 added a commit to 84flix/fluent-bit-kubernetes-logging that referenced this issue May 11, 2020
@gabegorelick
Copy link

I think #81 fixed most or all of these.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants