Add cluster config for kind create cluster command - #908
Conversation
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
|
Pinging @elastic/integrations (Team:Integrations) |
💔 Build Failed
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪Steps errors
Expand to view the steps failures
|
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
| kubectl version --client | ||
| ''') } | ||
| sh(label: "Create kind cluster", script: 'kind create cluster') | ||
| sh(label: "Create kind cluster", script: 'kind create cluster --config - $PWD/../../testing/environments/kubernetes/kind-config.yaml') |
There was a problem hiding this comment.
Wow, I totally forgot about that directory. Actually I should remove it totally...
As this is a config file, maybe we could keep just at the root as this one: https://github.com/elastic/integrations/blob/master/config.yml
WDYT?
There was a problem hiding this comment.
ah ok! I can move it there!
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
mtojek
left a comment
There was a problem hiding this comment.
If the CI is happy, please consider this PR as approved :)
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
5307d96 to
3612109
Compare
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
3612109 to
fb6fc9a
Compare
| kubectl version --client | ||
| ''') } | ||
| sh(label: "Create kind cluster", script: 'kind create cluster') | ||
| sh(label: "Create kind cluster", script: 'kind create cluster --config ../../kind-config.yaml') |
There was a problem hiding this comment.
If this config is in the root of the project, try with BASE_DIR
| sh(label: "Create kind cluster", script: 'kind create cluster --config ../../kind-config.yaml') | |
| sh(label: "Create kind cluster", script: 'kind create cluster --config ${BASE_DIR}/kind-config.yaml') |
There was a problem hiding this comment.
it seems to pass with ../../kind-config.yaml 😅
What does this PR do?
This PR changes how we start kind cluster for k8s tests so as to be able to expose kube-proxy's metrics.
Related to #886, elastic/elastic-package#322, https://github.com/elastic/elastic-package/tree/master/internal/install