-
Notifications
You must be signed in to change notification settings - Fork 41
FIX Examples #483
Comments
The way I see at this problem exists because we have tried those examples on minikube or minishift with addons like
|
Ideally, we should make sure that all our examples use images that don't require root |
As of Now, I think updating README with respective example is enough I guess |
simple, newer use anyuid on openshift ;-)
yes
no, our examples need to work on any OpenShift cluster. In some rare cases, if it would be to much work, we can put big warning into example readme that it only works on Kubernetes and OpenShift where security restrictions are lifted |
I've fixed guestbook-demo example - #484 |
Also, this issue is somewhat related to #376 ? |
Yup, let's get #376 up and running so we don't run into this issue in the future 👍 |
email from Burr:
3 for 3 fails with my first attempt. Here are my notes:
likely dumb user error :-) Also, I am trying to use minishift, perhaps it just does not work for minishift.
Try Kedge on Minishift v1.9.0+a511b25
started minishift with
MINISHIFT_ENABLE_EXPERIMENT=y minishift start --profile minishift-1.9.0 --metrics --cpus 3 --memory 8192 --vm-driver virtualbox --openshift-version v3.7.0-rc.0
Download kedge
curl -L https://github.com/kedgeproject/kedge/releases/download/v0.5.0/kedge-darwin-amd64 -o kedge
chmod +x kedge
./kedge
Try Guestbook
https://github.com/kedgeproject/kedge/tree/master/examples/guestbook-demo
note:
./kedge create -f kedge_project/examples/guestbook-demo/backend.yaml -f kedge_project/examples/guestbook-demo/frontend.yaml -f kedge_project/examples/guestbook-demo/db.yaml
note:
oc expose service frontend
Fail
INFO ==> Starting mongodb...
sed: can't read /bitnami/mongodb/conf/mongodb.conf: No such file or directory
INFO ==> Starting mongod...
error: failed switching to "mongo": unable to find user mongo: no matching entries in passwd file
Try Wordpress
https://github.com/kedgeproject/kedge/tree/master/examples/wordpress
oc new-project kedge-wordpress
kedge create -f kedge_project/examples/wordpress/wordpress.yaml -f kedge_project/examples/wordpress/mariadb.yaml
Fail
tar: ./wp-signup.php: Cannot open: Permission denied
tar: .: Cannot utime: Operation not permitted
tar: Exiting with failure status due to previous errors
Try Gitlab
https://github.com/kedgeproject/kedge/tree/master/examples/gitlab
oc new-project kedge-gitlab
kedge create -f kedge_project/examples/gitlab/gitlab.yml -f kedge_project/examples/gitlab/redis.yml -f kedge_project/examples/gitlab/postgres.yml
Fail
The text was updated successfully, but these errors were encountered: