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

permission and timeout changes after trying on an openshift4 cluster #524

Merged
merged 2 commits into from
Apr 24, 2019

Conversation

ryandawsonuk
Copy link
Contributor

@ryandawsonuk ryandawsonuk commented Apr 24, 2019

Not setting the securityContext lets openshift set it automatically. Without this we were hitting:

Warning  FailedCreate  26s (x16 over 87s)  statefulset-controller  create Pod seldon-core-redis-master-0 in StatefulSet seldon-core-redis-master failed error: pods "seldon-core-redis-master-0" is forbidden: unable to validate against any security context constraint: [fsGroup: Invalid value: []int64{1001}: 1001 is not an allowed group spec.containers[0].securityContext.securityContext.runAsUser: Invalid value: 1001: must be in the ranges: [8887, 1008886]]

The timeout increase is because the engine has been taking longer to start than it takes to run the probes. The liveness probe gets simplified as we don't need to check the whole graph to say that engine is live, just to say it is ready.

@seldondev seldondev added size/S and removed size/M labels Apr 24, 2019
@ukclivecox ukclivecox self-requested a review April 24, 2019 14:42
@ryandawsonuk ryandawsonuk merged commit 4529176 into master Apr 24, 2019
@ryandawsonuk ryandawsonuk deleted the run-on-openshift4 branch April 24, 2019 14:47
agrski added a commit that referenced this pull request Dec 2, 2022
* Fix typo in pipeline help overview in CLI

* Remove unnecessary duplication/nesting in default CLI arg

* Use curl-style header prefixes in logs

* Add blank lines after request & response headers

* Add blank lines around logical operations

* Add status line with infer request headers

This is comparable with cURL's formatting, allowing easy comparison between the two.

* Add request header line for (virtual) host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants