Comments (1)
The root cause has been identified, initially the status.replicas
field is not initialized (with spec.replicas
), hence it has the the default value 0, then we compare it with status.availableReplicas
which is also 0, and considered it as fully available. The fix should be just compare status.availableReplicas
against spec.replicas
.
Example log:
"status":{"conditions":[{"type":"Progressing","status":"True","lastUpdateTime":"2019-10-15T23:02:40Z","lastTransitionTime":"2019-10-15T23:02:40Z","reason":"NewReplicaSetCreated","message":"Created new replica set \"flinksessioncluster-sample-taskmanager-5c795b6bb\""}]}}}
2019-10-15T23:02:41.024Z DEBUG controller-runtime.manager.events Normal {"object": {"kind":"FlinkCluster","namespace":"default","name":"flinksessioncluster-sample","uid":"e3591296-ef9f-11e9-9873-42010a8a01fe","apiVersion":"flinkoperator.k8s.io/v1alpha1","resourceVersion":"2569"}, "reason": "StatusUpdate", "message": "TaskManager deployment status: Ready"}
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.