-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rearrange some docs, rewrite some other docs (#305)
* moved service contexts to the stacks docs * fixup on notifications docs * fixup on CD docs Fixes PROD-2666
- Loading branch information
1 parent
2999418
commit af69002
Showing
7 changed files
with
185 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,8 @@ | ||
<!--- Hello Plural contributor! It's great to have you on board! --> | ||
|
||
## Summary | ||
<!-- Describe your changes here, include the motivation/context, test coverage, --> | ||
<!-- the type of change i.e. breaking change, new feature, or bug fix --> | ||
<!-- and related GitHub issue or screenshots (if applicable). --> | ||
|
||
<!-- Adding a meaningful title and description allows us to better communicate --> | ||
<!-- your work with our users. --> | ||
|
||
## Labels | ||
<!-- For breaking changes, add the `breaking-change` label.️ --> | ||
<!-- For bug fixes, add the `bug-fix` label. --> | ||
<!-- For new features and notable changes, add the `enhancement` label. --> | ||
|
||
|
||
## Test Plan | ||
<!--- Please describe the tests you have added and your testing environment (if applicable). --> | ||
|
||
|
||
## Checklist | ||
<!--- Go over all the following points to make sure you've checked all that apply before merging. --> | ||
<!--- If you're unsure about any of these, don't hesitate to ask in our Discord. --> | ||
|
||
- [ ] If required, I have updated the Plural documentation accordingly. | ||
- [ ] I have added tests to cover my changes. | ||
- [ ] I have added a meaningful title and summary to convey the impact of this PR to a user. | ||
- [ ] I have added relevant labels to this PR to help with categorization for release notes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,68 +5,11 @@ description: GitOps Management using the Plural Operator | |
|
||
The Plural operator defines a set of CRDs that allow you to manage your deployments in a fully GitOps manner. The controller ultimately communicates with our core apis and acts effectively as a frontend to automate provisioning/deprovisioning the requisite resources. The CRD structures also imitate the patterns used by Flux and is interoperable with many Flux types (particularly those from its source controller), with modular distinct types for the various roles in deployments, e.g. git/helm repositories, clusters, and services. | ||
|
||
To illustrate the flexibility this model provides a very simple example to set up a helm multi-source deployment would look like this: | ||
|
||
```yaml | ||
# helm repository to use for the service | ||
apiVersion: source.toolkit.fluxcd.io/v1beta2 | ||
kind: HelmRepository | ||
metadata: | ||
name: nginx | ||
namespace: infra | ||
spec: | ||
interval: 5m0s | ||
url: https://kubernetes.github.io/ingress-nginx | ||
--- | ||
# cluster to deploy to | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: Cluster | ||
metadata: | ||
name: k3s-test | ||
namespace: infra | ||
spec: | ||
handle: k3s-test | ||
--- | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: GitRepository | ||
metadata: | ||
name: infra | ||
namespace: infra | ||
spec: | ||
url: [email protected]:some/repo.git # source repo for helm values | ||
--- | ||
apiVersion: deployments.plural.sh/v1alpha1 | ||
kind: ServiceDeployment | ||
metadata: | ||
name: nginx-threes-test | ||
namespace: infra | ||
spec: | ||
namespace: ingress-nginx | ||
name: ingress-nginx | ||
git: | ||
folder: helm-values | ||
ref: main | ||
repositoryRef: | ||
kind: GitRepository | ||
name: infra | ||
namespace: infra | ||
helm: | ||
version: 4.4.x | ||
chart: ingress-nginx | ||
valuesFiles: | ||
- ingress-nginx.yaml # values file sourced from the git repository | ||
repository: | ||
namespace: infra | ||
name: nginx # referenced helm repository above | ||
clusterRef: | ||
kind: Cluster | ||
name: k3s-test | ||
namespace: infra | ||
``` | ||
In general, Plural tries to be fully GitOps compliant, meaning virtually any write operation in the system can be realized via a CRD defined by our operator. That ensures you always have full auditability and reproducibility for all changes executed in your kubernetes infrastructure. | ||
|
||
## Full API Spec | ||
|
||
The full api spec can be found by looking through the go types [here](https://github.com/pluralsh/console/tree/master/controller/api/v1alpha1) (full docsite coming soon!) | ||
The full api spec can be found by looking through the go types [here](/deployments/operator/api). You can also look at the code [here](https://github.com/pluralsh/console/tree/master/go/controller/api/v1alpha1). | ||
|
||
## Read-Only vs Write resources | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.