Skip to content
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

Provide more information on the deployment status and generate related Kubernetes events #1228

Merged
merged 14 commits into from
Feb 24, 2020

Conversation

nicolaferraro
Copy link
Member

@nicolaferraro nicolaferraro commented Jan 28, 2020

Fix #1195
Fix #1199
Fix #1233

This adds more information about the status of an integration when running in dev mode or with --wait and also forward those events to Kubernetes, so that they are displayed in Kube dashboards.

Example output:

[nferraro@localhost camel-k]$ kamel run examples/simple.groovy --dev
integration "simple" created
Integration simple in phase Initialization
IntegrationPlatformAvailable for Integration simple: camel-k
Integration simple in phase Building Kit
No IntegrationKitAvailable for Integration simple: creating a new integration kit
Integration simple dependent resource kit-bonoavcbkthkfav219gg (Integration Kit) changed phase to Build Submitted
Integration simple dependent resource kit-bonoavcbkthkfav219gg (Build) changed phase to Scheduling
Integration simple dependent resource kit-bonoavcbkthkfav219gg (Build) changed phase to Pending
Integration simple dependent resource kit-bonoavcbkthkfav219gg (Build) changed phase to Running
Integration simple dependent resource kit-bonoavcbkthkfav219gg (Integration Kit) changed phase to Build Running
Integration simple dependent resource kit-bonoavcbkthkfav219gg (Build) changed phase to Succeeded
Integration simple dependent resource kit-bonoavcbkthkfav219gg (Integration Kit) changed phase to Ready
IntegrationKitAvailable for Integration simple: kit-bonoavcbkthkfav219gg
Integration simple in phase Deploying
DeploymentAvailable for Integration simple: deployment name is simple
No CronJobAvailable for Integration simple: different controller strategy used (deployment)
No KnativeServiceAvailable for Integration simple: different controller strategy used (deployment)
Integration simple in phase Running
...

Release Note

Kubernetes events are generated to track the status of an integration

@nicolaferraro
Copy link
Member Author

Wtf. standard users can not create events, so they can't install the operator if this is merged. Grrr

@nicolaferraro nicolaferraro force-pushed the kube-events branch 3 times, most recently from b1eda74 to 6c27346 Compare February 21, 2020 23:39
@nicolaferraro nicolaferraro force-pushed the kube-events branch 3 times, most recently from 59b537b to 90e233e Compare February 22, 2020 23:44
@nicolaferraro
Copy link
Member Author

Can we merge this, so to start a release?
@astefanutti @lburgazzoli

@lburgazzoli lburgazzoli merged commit 85808ff into apache:master Feb 24, 2020
@nicolaferraro nicolaferraro mentioned this pull request Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants