Comments (9)
I have encountered a similar error as well
Error: unable to parse option "crd:maxDescLen=0,trivialVersions=true,generateEmbeddedObjectMeta=true": [unknown argument "generateEmbeddedObjectMeta" (at <input>:1:61) extra arguments provided: "true" (at <input>:1:62)]
from flink-on-k8s-operator.
hi @numbnut I haven't tested yet with v1.21.2 but I'll take a look.
Using [email protected]
was needed before to be able to run the operator with k8s >1.18 but that has been addressed in this fork at least up until
v1.20.x`
The newer0.6.1
introduces generateEmbeddedObjectMeta
which is required specifically to add the metadata for the PersistentVolumeClaims
without it claims will not be deleted when the cluster is deleted;
@clouddra check if your env is not using a previous version of controller-tools
from flink-on-k8s-operator.
Hi @regadas. Using the right version of controller tools worked for me.
However I did encounter another problem when deploying to v1.15.7.
kubectl kustomize config/crd > config/crd/bases/patched_crd.yaml
mv config/crd/bases/patched_crd.yaml config/crd/bases/flinkoperator.k8s.io_flinkclusters.yaml
go mod tidy
kubectl apply -f config/crd/bases
error: unable to recognize "config/crd/bases/flinkoperator.k8s.io_flinkclusters.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"
The issue is likely due to the CRD's apiVersion
. It worked after I modified manually the generated yaml manifest to match that of apiextensions.k8s.io/v1beta1
. For anyone interested please refer to the public gist for the changes made.
from flink-on-k8s-operator.
Hi @regadas , thanks for the feedback. If I can somehow support you, please let me know.
from flink-on-k8s-operator.
Hi @clouddra , I'm not sure to which Kubernetes version you are referring. Are all your comments referring to the version v1.15.7
, which you are mentioning in the second comment? If this is the case I think it might be better to open a new ticket, because this one is focusing on v1.21.x
.
from flink-on-k8s-operator.
I doubled checked the operator deployment on k8s >=1.18
and it seems that there are no issues;
I used our latest version:
make deploy IMG=ghcr.io/spotify/flink-operator:v0.1.13
Make sure controller-tools
is on 0.6.1
from flink-on-k8s-operator.
Hi @regadas , thanks for checking it. I will take another look and try out your pre-built image. If I have some results I will report back.
from flink-on-k8s-operator.
Hi @regadas ,
I can confirm that you prebuilt image is working on Docker for Mac. It seems that there are problems in the build chain on Docker for Mac or that I have misconfigured something.
Can you say something about MacOS compatibility?
Should I maybe create a new ticket about it?
Regards,
Niklas
from flink-on-k8s-operator.
I checked again with the latest release 0.1.14 and the problem vanished. Since a lot of changes have been applied to the build logic I assume that this might have fixed the problem.
from flink-on-k8s-operator.
Related Issues (20)
- Cluster stuck in Updating state if PodDisruptionBudget is set
- Wrong job status after job update.
- Rework examples
- Allow Flink to ignore savepoint on restore if the states of the old and new jobs are incompatible
- Create a new cluster before deleting the old one on the job update
- FlinkCluster stuck in Updating state when PDB is used.
- Add HorizontalPodAutoScaller properties to FlinkCluster spec HOT 1
- QUESTION: how to get sample app WordCount.jar to run with version 1.15.3 and 2 taskmanager replicas HOT 3
- Caused by GSSException: No valid credentials provided(Mechanism level: Failed to find any Kerberos tgt)
- Validation Error `nodeaffinity` rule for the flinkcluster HOT 2
- HPA not creating new pods on scale event HOT 3
- Pod Affinity Feature Causing Flink Pipeline Redeployment to Fail HOT 2
- poddisruptionbudget is not allowing any disruptions HOT 1
- While using application mode, the jobmanager pod is not restarted when killed
- Flink Operator Loses Job Manager Contact during EKS upgrade HOT 10
- Question: is the latest CRD backwards compatible with the CRD from 0.30 HOT 3
- Job Manager is not brought back up HOT 1
- Application mode Job Manager restart can create multiple FlinkJobs
- Streaming Application mode Jobs can sometimes reach completed stage
- If the job submitter fails, the job keeps running
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.