Comments (4)
Do you mean pruning function?
If so, since version 1.15 it seems to be supported by k8s apiserver.
I tested this feature in 1.15, but there were another problem. controller-tools included in kubebuilder is not able to create a "structural schema" intact. To use the pruning feature, the openapi validation schema must be defined as "structural schema". There are two issues with structural schema that are problematic.
kubernetes-sigs/controller-tools#304 (resolved recently)
kubernetes-sigs/controller-tools#279
from flink-on-k8s-operator.
controller-tools 0.2.4 included in kubebuilder v2.2.0 supports the generation of CRD V1 and structural schema, which allows you to use preserveUnknownFields. If you are using k8s 1.15 this issue seems to be resolved.
I have tested generating CRD with controller-tools 0.2.4, deploying CRD to k8s 1.15 cluster and deploying CR with unknown field, and api-server-validation works well.
- note:
https://github.com/kubernetes-sigs/controller-tools/releases/tag/v0.2.3
https://github.com/kubernetes-sigs/kubebuilder/blob/v2.2.0/scripts/setup.sh#L28
from flink-on-k8s-operator.
This doesn't seem to be supported by Kubebuilder kubernetes-sigs/kubebuilder#1174. Still not aware of how to solve it.
from flink-on-k8s-operator.
Thanks, will check!
from flink-on-k8s-operator.
Related Issues (20)
- cert-job POD failing while installing HELM charts HOT 4
- Flink Session Cluster Installation is faling HOT 9
- Flink Session Cluster REST handler exception HOT 1
- Flink Operator installation is failing HOT 1
- flinkProperties for job submitter
- no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
- Restarting a Job Without a Savepoint HOT 3
- Default log4j.properties file not compatible with log4j2
- "spotify/flink-on-k8s-operator" as alternative active fork
- Flink Service selector too lenient - selects other pods as well
- Is native High Availability (HA) on Kubernetes (K8s) supported by the operator?
- Controller incompatible with Kubernetes 1.22 HOT 1
- installing the operator via make deploy giving error HOT 3
- jobManager.accessScope is required or not?
- nodeSelector does not get picked up HOT 1
- no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1",
- OperatorHub and Operator Lifecycle Manager OLM planned?
- fix: build failed,regenerate deepcopy code
- Flink-operator helm chart has invalid versions
- [Bug]encounter npe when cancel job with taking savepoint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flink-on-k8s-operator.