Skip to content

Commit 88fb147

Browse files
committed
[docs] Reorganize hugo doc site
This PR reorganizes sdk.operatorframework.io to match the navigation panel for olm.operatorframework.io, so that both the sites appear to be part of one operator-framework family.
1 parent ebfa4cd commit 88fb147

File tree

144 files changed

+432
-151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+432
-151
lines changed

website/content/en/docs/_index.md

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -6,92 +6,3 @@ menu:
66
weight: 2
77
---
88

9-
## Overview
10-
11-
This project is a component of the [Operator Framework][of-home], an open source toolkit to manage Kubernetes native applications, called Operators, in an effective, automated, and scalable way. Read more in the [introduction blog post][of-blog].
12-
13-
[Operators][operator_link] make it easy to manage complex stateful applications on top of Kubernetes. However writing an operator today can be difficult because of challenges such as using low level APIs, writing boilerplate, and a lack of modularity which leads to duplication.
14-
15-
The Operator SDK is a framework that uses the [controller-runtime][controller_runtime] library to make writing operators easier by providing:
16-
17-
- High level APIs and abstractions to write the operational logic more intuitively
18-
- Tools for scaffolding and code generation to bootstrap a new project fast
19-
- Extensions to cover common operator use cases
20-
21-
## Workflow
22-
23-
The SDK provides workflows to develop operators in Go, Ansible, or Helm.
24-
25-
The following workflow is for a new [Golang operator][golang-guide]:
26-
27-
1. Create a new operator project using the SDK Command Line Interface(CLI)
28-
2. Define new resource APIs by adding Custom Resource Definitions(CRD)
29-
3. Define Controllers to watch and reconcile resources
30-
4. Write the reconciling logic for your Controller using the SDK and controller-runtime APIs
31-
5. Use the SDK CLI to build and generate the operator deployment manifests
32-
33-
The following workflow is for a new [Ansible operator][ansible-guide]:
34-
35-
1. Create a new operator project using the SDK Command Line Interface(CLI)
36-
2. Write the reconciling logic for your object using ansible playbooks and roles
37-
3. Use the SDK CLI to build and generate the operator deployment manifests
38-
4. Optionally add additional CRD's using the SDK CLI and repeat steps 2 and 3
39-
40-
The following workflow is for a new [Helm operator][helm-guide]:
41-
42-
1. Create a new operator project using the SDK Command Line Interface(CLI)
43-
2. Create a new (or add your existing) Helm chart for use by the operator's reconciling logic
44-
3. Use the SDK CLI to build and generate the operator deployment manifests
45-
4. Optionally add additional CRD's using the SDK CLI and repeat steps 2 and 3
46-
47-
## Command Line Interface
48-
49-
To learn more about the SDK CLI, see the [SDK CLI Reference][sdk_cli_ref], or run `operator-sdk [command] -h`.
50-
51-
### Operator capability level
52-
53-
Note that each operator type has a different set of capabilities. When choosing what type to use for your project, it is important to understand the features and limitations of each of the project types and the use cases for your operator.
54-
55-
![operator-capability-level](/operator-capability-level.png)
56-
57-
Find more details about the various levels and the feature requirements for them in the [capability level documentation][capability_levels].
58-
59-
## Samples
60-
61-
To explore any operator samples built using the operator-sdk, see the [operator-sdk-samples][samples].
62-
63-
## FAQ
64-
65-
For common Operator SDK related questions, see the [FAQ][faq].
66-
67-
## Contributing
68-
69-
See [CONTRIBUTING][contrib] for details on submitting patches and the contribution workflow.
70-
71-
See the [proposal docs][proposals_docs] and issues for ongoing or planned work.
72-
73-
## Reporting bugs
74-
75-
See [reporting bugs][bug_guide] for details about reporting any issues.
76-
77-
## License
78-
79-
Operator SDK is under Apache 2.0 license. See the [LICENSE][license_file] file for details.
80-
81-
[ansible-guide]:/docs/ansible/quickstart/
82-
[bug_guide]:/docs/contribution-guidelines/reporting-issues/
83-
[capability_levels]: /docs/operator-capabilities/
84-
[contrib]: https://github.com/operator-framework/operator-sdk/blob/master/CONTRIBUTING.MD
85-
[controller_runtime]: https://github.com/kubernetes-sigs/controller-runtime
86-
[faq]: /docs/faq/
87-
[getting_started]: https://github.com/operator-framework/getting-started/blob/master/README.md
88-
[golang-guide]:/docs/golang/quickstart/
89-
[helm-guide]:/docs/helm/quickstart/
90-
[install_guide]: /docs/install-operator-sdk/
91-
[license_file]:https://github.com/operator-framework/operator-sdk/blob/master/LICENSE
92-
[of-blog]: https://coreos.com/blog/introducing-operator-framework
93-
[of-home]: https://github.com/operator-framework
94-
[operator_link]: https://coreos.com/operators/
95-
[proposals_docs]: https://github.com/operator-framework/operator-sdk/tree/master/proposals
96-
[samples]: https://github.com/operator-framework/operator-sdk-samples
97-
[sdk_cli_ref]: /docs/cli/
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Advanced Tasks"
3+
linkTitle: "Advanced Tasks"
4+
weight: 4
5+
date: 2020-07-09
6+
description: Guide to CRD scoping, Operator Scoping and Scorecard testing using Operator SDK
7+
---

website/content/en/docs/legacy-common/crds-scope.md renamed to website/content/en/docs/advanced-tasks/crd-scoping/_index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: CRD scope with Operator SDK
3-
linkTitle: CRD Scope
4-
weight: 60
2+
title: CRD scoping with Operator SDK
3+
linkTitle: CRD Scoping
4+
weight: 2
5+
description: CRD scoping with Operator SDK
56
---
67

78
## Overview

website/content/en/docs/legacy-common/operator-scope.md renamed to website/content/en/docs/advanced-tasks/operator-scoping/_index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: Operators and CRD scope with Operator SDK
3-
linkTitle: Operator Scope
4-
weight: 50
2+
title: Operator scoping with Operator SDK
3+
linkTitle: Operator Scoping
4+
weight: 1
5+
description: Operator scoping with Operator SDK
56
---
67

78
## Overview
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Scorecard
3+
linkTitle: Scorecard
4+
weight: 3
5+
description: Statically validate your operator bundle using Scorecard.
6+
---
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
---
2-
title: Ansible/Helm CLI Reference
3-
weight: 31
4-
---
5-
6-
**Note:** For Golang Operators this CLI has been deprecated. Please consult the [new CLI reference][new_CLI] doc.
7-
8-
[new_CLI]:/docs/new-cli
9-
10-
<!---
11-
Links in the CHANGELOG reference "website/content/en/docs/cli"
12-
so we can't change the legacy CLI doc path
13-
14-
TODO: Once versioned docs are supported on the website the CHANGELOG notes
15-
that link to the legacy CLI should be updated before being removed on the master
16-
branch.
17-
--->
2+
title: Operator SDK CLI
3+
linkTitle: Operator SDK CLI
4+
weight: 6
5+
description: Working with operator-sdk cli
6+
---

0 commit comments

Comments
 (0)