diff --git a/docs/content/en/docs/architecture/working/_index.md b/docs/content/en/docs/architecture/working/_index.md deleted file mode 100644 index 5c45742620..0000000000 --- a/docs/content/en/docs/architecture/working/_index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: How Keptn works -linktitle: How Keptn works -description: Understand How Keptn Works -weight: 30 ---- - -### How does Keptn Work? diff --git a/docs/content/en/docs/implementing/add-app-awareness/index.md b/docs/content/en/docs/implementing/add-app-awareness/index.md deleted file mode 100644 index e6c88048ff..0000000000 --- a/docs/content/en/docs/implementing/add-app-awareness/index.md +++ /dev/null @@ -1,126 +0,0 @@ -# Add Application Awareness - -In the previous step, we installed the demo application -without any application awareness. -This means that Keptn assumed -that every workload is a single-service application at the moment -and created the Application resources for you. - -To get the overall state of an application, -we need a grouping of workloads, called KeptnApp. -To get this working, we need to modify our application manifest with two things: - -* Add an "app.kubernetes.io/part-of" or "keptn.sh/app" label to the deployment -* Create an application resource - -## Preparing the Manifest and create an App resource - ---- - -### TL;DR - -You can also use the prepared manifest and apply it directly using: `kubectl apply -k sample-app/version-2/` and -proceed [here](#watch-application-behavior). - ---- - -### Otherwise - -Create a temporary directory and copy the base manifest there: - -```shell -mkdir ./my-deployment -cp demo-application/base/manifest.yml ./my-deployment -``` - -Now, open the manifest in your favorite editor and add the following label to the deployments, e.g.: - -```yaml ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: podtato-head-right-leg - namespace: podtato-kubectl - labels: - app: podtato-head -spec: - selector: - matchLabels: - component: podtato-head-right-leg - template: - metadata: - labels: - component: podtato-head-right-leg - annotations: - keptn.sh/workload: "right-leg" - keptn.sh/version: "0.1.0" - keptn.sh/app: "podtato-head" - spec: - terminationGracePeriodSeconds: 5 - containers: - - name: server - image: ghcr.io/podtato-head/right-leg:latest - imagePullPolicy: Always - ports: - - containerPort: 9000 - env: - - name: PODTATO_PORT - value: "9000" -``` - -Now, update the version of the workloads in the manifest to `0.2.0`. - -Finally, create an application resource (app.yaml) and save it in the directory as well: - -```yaml -apiVersion: lifecycle.keptn.sh/v1alpha2 -kind: KeptnApp -metadata: - name: podtato-head - namespace: podtato-kubectl -spec: - version: "latest" - workloads: - - name: left-arm - version: "myvers12.5" - - name: left-leg - version: "my_v24" - - name: entry - version: "latest" - - name: right-arm - version: "0.1.1" - - name: left-arm - version: "0.1.1" - - name: hat - version: "0.1.1" -``` - -Now, apply the manifests: - -```shell -kubectl apply -f ./my-deployment/. -``` - -## Watch Application behavior - -Now, your application gets deployed in an application aware way. -This means that pre-deployment tasks and evaluations -would be executed if you would have any. -The same would happen for post-deployment tasks and evaluations after the last -workload has been deployed successfully. - -Now that you defined your application, you could watch the state of the whole application using: - -```shell -kubectl get keptnappversions -n podtato-kubectl` -``` - -You should see that the application is in a progressing state as long as the workloads (`kubectl get kwi`) are -progressing. -After the last application has been deployed, and post-deployment tasks and evaluations are finished (there -are none at this point), the state should switch to completed. - -Now, we have deployed an application and are able to get the total state of the application state. -Metrics and traces -get exported and now we're ready to dive deeper in the world of Pre- and Post-Deployment Tasks. diff --git a/docs/content/en/docs/implementing/slack.md b/docs/content/en/docs/implementing/slack.md deleted file mode 100644 index c1635b7791..0000000000 --- a/docs/content/en/docs/implementing/slack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Implement Slack notifications -description: Learn how to implement Slack notification as a post-deployment task -weight: 325 ---- diff --git a/docs/content/en/docs/intro/usecase-orchestrate.md b/docs/content/en/docs/intro/usecase-orchestrate.md index 9af348e4a3..685f4fbcb9 100644 --- a/docs/content/en/docs/intro/usecase-orchestrate.md +++ b/docs/content/en/docs/intro/usecase-orchestrate.md @@ -146,8 +146,6 @@ spec: secret: slack-notification ``` -For more information about sending Slack notifications with Keptn, see -[Implement Slack notifications](../implementing/slack.md). The code to be executed is expressed as a [Deno](https://deno.com) script, which uses JavaScript syntax. diff --git a/docs/content/en/docs/operate/_index.md b/docs/content/en/docs/operate/_index.md index 8be4e6bd4b..1caf982eed 100644 --- a/docs/content/en/docs/operate/_index.md +++ b/docs/content/en/docs/operate/_index.md @@ -3,4 +3,4 @@ title: Operate Keptn description: This section contains various content on operating Keptn day-to-day weight: 30 hidechildren: false # this flag hides all sub-pages in the sidebar-multicard.html ---- +--- \ No newline at end of file diff --git a/docs/content/en/docs/yaml-crd-ref/crd-template.md b/docs/content/en/docs/yaml-crd-ref/crd-template.md deleted file mode 100644 index c2ee70bceb..0000000000 --- a/docs/content/en/docs/yaml-crd-ref/crd-template.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: template for new files in this directory -description: -weight: ---- - -Copy this template to create a new CRD reference page. - -1. Replace the variable text in metadata with information for this page -1. Delete these instructions from your file -1. Populate the page with appropriate content - -## Synopsis - -## Fields - - - -## Usage - - - - -## Examples - -## Files - -## Differences between versions - -## See also