Skip to content

add extensions to init#439

Merged
mangas merged 3 commits intomasterfrom
kev-438-add-extensions-init
Apr 6, 2021
Merged

add extensions to init#439
mangas merged 3 commits intomasterfrom
kev-438-add-extensions-init

Conversation

@mangas
Copy link
Contributor

@mangas mangas commented Mar 31, 2021

Resolves #438

@mangas mangas marked this pull request as ready for review March 31, 2021 15:43
@mangas mangas requested a review from ezodude March 31, 2021 15:43
@mangas mangas force-pushed the kev-438-add-extensions-init branch from f9d0f6f to d375474 Compare March 31, 2021 15:46
Copy link
Contributor

@ezodude ezodude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just did a quick review - makes sense.

Love that you renamed to K8SConfiguration 🚀 ... I'm sure @marcinc will give it a thorough once over 🙂.

type: Deployment
replicas: 1
livenessProbe:
type: exec
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate it may not be in scope of this PR, but something we should consider.

Instead of specifying the probe type we could just use it as a key with nested configuration specific to selected probe type, see example in #443.

livenessProbe:
  exec:
    command: "your command"
...

readinessProbe:
  http:
    port: 8080
    path: /
...

readinessProbe:
  tcp:
    port: 8080
...

The only challenge with the above is a none probe type... but perhaps we could work on assumption that if none type was intended, then the probe shouldn't be present in the configuration at all?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather table this for now and discuss this as a separate issue. This causes a bit of problems because many of them can be filled and so we end up with more errors and making it really hard for someone to switch between types because they would need to remove all the alternatives or risk them being used on the k8s config. Not sure if that produces an error or not. Either case I think this is better as a ticket to be discussed, what do you think?

@mangas mangas merged commit 539480d into master Apr 6, 2021
@mangas mangas deleted the kev-438-add-extensions-init branch April 6, 2021 14:27
marcinc added a commit that referenced this pull request Apr 19, 2021
Co-authored-by: Marcin Ciszak <marcinc@users.noreply.github.com>
marcinc added a commit that referenced this pull request Apr 19, 2021
marcinc added a commit that referenced this pull request Apr 20, 2021
* Revert "kev-458 Render probe info from extensions (#459)"

This reverts commit 7cfd284.

* Revert "kev-449 overlay validation (#451)"

This reverts commit c6c4ec0.

* Revert "add extensions to init (#439)"

This reverts commit 539480d.

* Revert "add extension support (#432)"

This reverts commit d694204.

Co-authored-by: marcinc <marcin.ciszak@appvia.io>
marcinc added a commit that referenced this pull request Apr 20, 2021
Co-authored-by: Marcin Ciszak <marcinc@users.noreply.github.com>
marcinc added a commit that referenced this pull request Apr 22, 2021
Co-authored-by: Marcin Ciszak <marcinc@users.noreply.github.com>
marcinc added a commit that referenced this pull request Apr 22, 2021
Co-authored-by: Marcin Ciszak <marcinc@users.noreply.github.com>
ezodude pushed a commit that referenced this pull request May 27, 2021
Co-authored-by: Marcin Ciszak <marcinc@users.noreply.github.com>
ezodude pushed a commit that referenced this pull request Jun 4, 2021
Co-authored-by: Marcin Ciszak <marcinc@users.noreply.github.com>
ezodude added a commit that referenced this pull request Jun 4, 2021
* add extension support (#432)

* add extension support

* add extensions to init (#439)

* kev-449 overlay validation (#451)

* kev-458 Render probe info from extensions (#459)

* Latest from master.

* kev-458 remove label validation (#482)

* kev-458 remove label validation

* Kev 458 cleanup moved extensions (#483)

* kev-458 cleanup moved extensions

* remove unused code

* kev-458 move imagepull labels (#498)

* kev-458 move resource (#499)

* kev-458 move cpu (#500)

* Bug fix - can now use correct workload type during init and render. (#504)

* Extract volume settings into a volumes K8s extension (#502)

* Enable volumes reconciliation for extensions. (#506)

* Render volumes using extension settings (#508)

* Remove volume labels use (#509)

* Moved the autoscale labels to extensions. (#514)

* Move the pod-security labels to extensions. (#516)

* Move the rolling update max surge and service account name to extensions. (#519)

* Move the service labels to extensions (#521)

* Remove services labels use. (#525)

* Turn Restart Policy string value sets into enums (#533)

* Turn Workload Type and Service Type value sets into enums (#534)

* Minify Extensions (#536)

* Set correct livenessProbe success threshold (#548)

* Update the documentation to use extensions instead of labels. (#547)

* Handle ingress with kubernetes cluster defaults (#552)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wire K8SConfig to be added on init

3 participants