Support of k8s secrets is introduced. To create a secret, put
an additional section 'secrets' to the definition
of the service:
secrets:
name-for-reference:
type: "Opaque"
data:
"file1": "some content"
"file2": "another one"
secret:
secretName: name-in-k8s
path: /where/to/mount
You can reference to this secret from the container definition:
daemon:
secrets:
- name-for-reference
The referenced secret must be defined in the 'secrets' section.
Change-Id: Iaaede4ccb94c99d70f3ecad040d5ab6c41428c5e
Partial-Bug: #1651392
Partial-Bug: #1651394
NodePort port range can be changed on apiserver start.
Operator should care about proper configuration.
Change-Id: I56bc33be0e3894c8b311be251a078a1578001f34
Full Annotations support for pod and service is needed for setting
extra options in kubernates for users.
Change-Id: Icbde776e5e8b44cfabe752fb43cab2ed9978ffe5
* service version validation added. It will be executed before
deployment and as part of validate command for service
definitions.
* dsl_version field now is required field
* initial dsl_version = "0.1.0" added
* doc describing dsl versioning added
Depends-On: I0abe9781300c794d690b0822fc2a857db3ca8ea5
Depends-On: Ib755efe784a1c4bc04fb49827baa268513dd27e1
Depends-On: I62520035507ca7c5ac97a0e34062fa9eac26e2f6
Depends-On: I9afb7143dc876b839297c5bf5c03b156e0daa8c2
Depends-On: I5a05d2538a3315ce2e652219a6cd5aead9c7d617
Depends-On: I4a0c00b40b2af4f213daf7e43419dd46951fc4bc
Depends-On: Id988118f78fcdfe0599abe27959590f56f3617d3
Depends-On: I965814b147179435ef2cf94abc362df866495f8f
Depends-On: Ic9e4e79e848ab944e5910b57cc5cd524f1f97ae0
Depends-On: Ic8d9c334ac57a13066db38562423523bd23b671f
Depends-On: I581b587d36e03d60c5fb04e7dbf0c184c992b526
Depends-On: I4d4b9f363138b85198222ac2e770930ce7bd6ab5
Depends-On: I1728ee34eef02668cb54b1f54291a66d609dd6c4
Depends-On: I4d4b9f363138b85198222ac2e770930ce7bd6ab5
Change-Id: I220d99e76220c124d782c97de51112869c727148
We need to pass complex (dict-based) readiness probes through to
entrypoint to handle.
Keep backward compatibility with old oneline readiness probes for now.
Change-Id: I2e8aaeeabcb0c2ddfcf605008763a7a938a578b4
The validation takes 2 steps:
a) render Dockerfile.j2's;
b) verify that all images have parents except ones that are listed in
base_images config parameter.
This validation ignores list of components because we have repos without
services (debian-base, openstack-base).
Change-Id: I0fd9fb0382b860f04e12993e350c7c23fbcdfda7
We need to run multiple memcached instances for scale and performance
and the best approach for doing it is to support PetSets.
Change-Id: I42c9f82508ed7f42df01b467f45531b67b52b054
* ingress support added
port:
cont: 123
ingress: test
* two config params added:
configs:
ingress:
enable: False
domain: external
Ingress will be disabled by default
Change-Id: Ic621af6930f078eea17fd83fce26b42cd32ecf01
This commit adds http probe, changing our templates. Probe can be
specified as follows (for example):
---
liveness:
path: "/_status/"
type: "httpGet"
port: 8080
initialDelay: 10
timeout: 1
---
Old exec checks should be now defined as follows:
---
liveness:
command: "true"
type: "exec"
---
Timeouts are optional, and default values are
timeoutSeconds: 1
initialDelaySeconds: 10
Change-Id: I920029d4cb14981427e7f978778506fb0b69c435
Replacin "host-net" flag of service definitions with "hostNetwork"
flag to align with k8s field definition.
Change-Id: Iac7674fb2bfa214f9d027479d8934411c9bb535c
Depends-On: I2ce416d0d44aea43a1b32ae88484bb51c7608e25
Depends-On: I72c8ecef3d009d72d5a8f7f8b847199e3ac184dd
We want to alling with k8s definitions and it would be more convenient
to have one param instead of several flags.
Change-Id: I2db5a09dba5af508ad0f40f3c17ab22395e86576
Depends-On: I378f7fd3e89ac12e9f6d16fca3591d09ff33d4f9
Depends-On: Iecff0370dbec342779b0d07a96b84a196522ca77
Depends-On: I44b62597413322846c1ac538df860175ba560956
* fixed one implicit relative import (doesn't work on Python 3.x)
* remove using getLogger from oslo.log (removed everywhere else in
previous CRs)
Change-Id: I4dc2d18ee89de0b088503233498b8f3df2c44b80
* no new commands/flags implemented - if object already exists,
it will be updated
* only Deployment, ConfigMap, Service can be updated
* if deployment spec was not updated, but related configmaps were,
deployment will be updated
* deployments will be updated with RollingUpdate strategy
Change-Id: If8fe78d6bea95b11d87f243cadc79490736745e7
execute "fuel-ccp validate {type,}" to validate specified types
for component repositories. If type list is not specified - validation
of all available types will be performed.
This patch supports only validation for "service-def" type.
Also service validation is added before each deploy action.
Change-Id: Icf34c722ba441537b213671f93f9d322d3a8325a
* check that components names are correct
* check that requested componets are not deployed
* check that all required components already exist/requested
Change-Id: I110eb8cdb8c450e9fd6b6cd8726a27bf1a7d4ac8