Skip to content
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

Draft guide for OCI Kubernetes #1175

Merged
merged 70 commits into from
May 24, 2023
Merged

Conversation

n0tl3ss
Copy link
Member

@n0tl3ss n0tl3ss commented Dec 8, 2022

  • Added guide for OCI Kubernetes
  • Small changes to Kubernetes base guide
  • Added external-template and common-template, Uses external resources as templates you can provide argument that will be replaced in text.

For an example:

external-template:micronaut-k8s-oci/k8s-microservice.adoc[arg0=api]

will include micronaut-k8s-oci/k8s-microservice.adoc and substitute every appearance of {0} with api.

PDFs:

Using Oracle Cloud Container Engine for Kubernetes (OKE) and the Micronaut Framework.pdf

Kubernetes and the Micronaut Framework.pdf

@sachin-pikle
Copy link

sachin-pikle commented Dec 13, 2022

Hi @n0tl3ss,

Some feedback:

  1. Kubernetes and the Micronaut Framework.pdf: Correct the secret name in the footnote 4 below the auth.yml in section 5.

image

  1. Both the guides: Instead of using "kubectl create -f ...yml", it's better to use "kubectl apply -f ...yml"
    (Recommended by K8s https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-apply)

  2. Kubernetes and the Micronaut Framework.pdf: Works with micronaut-kubernetes version 3.4.1-SNAPSHOT.

  3. Another suggestion would be to have a separate k8s namespace to create the resources used in the guide. Cleaning up is as easy as deleting the namespace.

sdelamo and others added 26 commits February 15, 2023 10:25
* custom constraint

* Update guides/micronaut-custom-validation-annotation/java/src/test/java/example/micronaut/ContactTest.java
When copying the curl command, each new line is executed rather than waiting for the last command.
…variable names to be compatible with the sample JDBC application, and added explanations similar to the original JDBC guide. (#1270)
@sdelamo sdelamo mentioned this pull request May 24, 2023
@sdelamo sdelamo merged commit d438c6c into feature/k8s-guide May 24, 2023
@sdelamo sdelamo deleted the feature/k8s-guide-oci branch May 24, 2023 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.