Change overwrite to append /etc/resolv.conf, as in my test envrionment it
need specific nameserver for specific domain, if overwrite all the content
in resolv.conf will not install correctly.
Change-Id: I8355c2e00ccd686b48a42f13d7e3de05defa88a8
For non-image type function, it's the runtime server's reponsibility
to set resource limit for sub-process.
For image type function, we set the limit in pod definition for now,
may provide config option or input param in future.
Change-Id: I6c0e19759df0b964eb63839998327e55b4c4b092
Node.js support is just for experimental purpose at this stage, may
expect a lot of changes and refactoring as time goes by.
Story: 2001580
Task: 6529
Change-Id: Ib75364ed4501da198b2d40f4eb111428e5e3cbbb
We use ansible's become to do privilege escalation. However in this way
the $HOME path would be set to /root instead of the user running
devstack. Thus the k8s config would be kept under /root instead of the
$HOME directory of which runs devstack.
This commit fixes the aforementioned issue by directly copying the
config from /etc to the user's directory in setup_gate.sh after running
ansible.
Co-Authored-By: Hunt Xu <mhuntxu@gmail.com>
Change-Id: I8bcffb0f626d91072063e1ce6faced9f7a737a6b
- avoid labels being None and passed to selector generation method
- correct the name of create_namespaced_deployment_rollback
- update _choose_available_pods, taking the 'count' parameter into
account
- fix potential errors in _create_pod as input may be a string rather
than a dict
Change-Id: Iadc05caec871e37c7eeb9cfd9d358aec0b280315
Split function package download functionality into a separate
container, so that it will be easy to add additional runtime support.
I was planning to use kubernetes new verion apps api in qinling, but
failed because the kubernetes client in global requirement is not
updated yet, so I comment the code out in case we use them in future.
Change-Id: I0709b8ac689638b78e00ca35d0fea2db6cae0d0f
Story: 2001580
Task: 6607
This commit also adds a missing markup in the quick start guide.
Co-Authored-By: Hunt Xu <mhuntxu@gmail.com>
Change-Id: I670c4a5231f8595a405589855eafd7667c606614
Make python runtime more production-ready. Actually, the docker image
has been built and used in Qinling gate job.
Change-Id: Ie7a0ae19042acecc1cfcbb2ac13fa019ca5735a9
- Remove the scripts 'stolen' from openstack-helm project for k8s
installation. Use ansible and kubeadm instead.
- Update the doc
- Change the test_process_limit.py to avoid being affected by outside
environment (e.g. the jenkins gate node)
Story: 2001595
Change-Id: I604af8eb38921f5a0838de2f89f32360bdcf6d42
Using kubeadm instead of other installing tools gives us more control of our
own devstack installation.
Change-Id: I0bffcc091fea70ea62952b21fb325c2cdde26b86
This is a following up for [1] as bug tracking has been migrated from
Launchpad to StoryBoard.
[1] I3555414f41327b4ab69333a904bef1cf4d0b72c0
Change-Id: Ieb6b2308cd0f611fcda7b7f6fc3ab1ffcf81d3ab
The path is only required when storing a package and is guaranteed
before that. Thus it is not needed to ensure that path upon
FileSystemStorage initialization.
This commit also removes the usage of global CONF variable in the
qinling.storage.file_system module, as according the recommendation of
oslo.config it is not recommended.
Change-Id: Id3ccbb172ecc68c135624996b781448e2a69b4a9
After changing administration to admin, we can publish Qinling Admin
Guide on docs.openstack.org.
This patch is required by I2a3533c6eacf501aaebf8309a9a938d979643802
Change-Id: I3a7622c5cd8262e199acc098620e7a6ed46c4820