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
feat: add production mode to k8s #1963
Conversation
This reverts commit 8447820.
Deploying with Cloudflare Pages
|
This reverts commit 1d918c0.
apiContainerContainers, apiContainerVolumes, err := getApiContainerContainersAndVolumes(image, containerPorts, envVarsWithOwnIp, enclaveDataVolumeDirpath) | ||
if err != nil { | ||
return nil, stacktrace.Propagate(err, "An error occurred getting API containers and volumes") | ||
} | ||
|
||
apiContainerInitContainers := []apiv1.Container{} | ||
|
||
// Data is always persistent we can always restart like Docker | ||
apiContainerRestartPolicy := apiv1.RestartPolicyOnFailure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leoporoli Questions here -
This is very similar to what Docker does; and docker always has persistent volume for /kurtosis-data
but on Kubernetes that adds time on DO/AWS; on k3s it seems like no time is added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we talked about this on Slack and I agree with adding this for all enclaves so far.
🤖 I have created a release *beep* *boop* --- ## [0.85.49](0.85.48...0.85.49) (2023-12-18) ### Features * add production mode to k8s ([#1963](#1963)) ([b0e27e6](b0e27e6)) * persistent volumes work on multi node k8s clusters ([#1943](#1943)) ([b2fd9f2](b2fd9f2)) * User service K8S ingresses for reverse proxy routing ([#1941](#1941)) ([c37dd7f](c37dd7f)) ### Bug Fixes * adding remove logs aggregator container function when it already exists ([#1974](#1974)) ([5d74d16](5d74d16)) * Do not fail if the Traefik config dir path already exists ([#1966](#1966)) ([4e6f7d7](4e6f7d7)) * ignore the current status of the service during a start/stop ([#1965](#1965)) ([1c4863f](1c4863f)) * refactor the emui components to the shared package ([#1959](#1959)) ([a406973](a406973)) * Set the user service K8S ingress labels so it can be found ([#1962](#1962)) ([9cc5f77](9cc5f77)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com> Co-authored-by: leoporoli <leandroporoli@gmail.com>
Description:
Is this change user facing?
YES