-
Notifications
You must be signed in to change notification settings - Fork 177
[DOC] OpenShift support for PMM Server (PMM-14132) #4452
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
Conversation
* bring back missing options * fix links * chore: trigger the build * added icon --------- Co-authored-by: Alex Demidoff <[email protected]>
* Fix the wrong port mapping * chore: trigger the build
For OpenShift deployments, you'll also need: | ||
|
||
- OpenShift Container Platform 4.15. Other versions will likely work but they haven't been tested | ||
- Administrative access for `SecurityContextConstraints` (SCC) |
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.
I don't think that it's a requirement
```bash | ||
# Create custom SCC for PMM | ||
cat <<EOF | oc create -f - | ||
apiVersion: security.openshift.io/v1 | ||
kind: SecurityContextConstraints | ||
metadata: | ||
name: pmm-scc | ||
allowHostDirVolumePlugin: false | ||
allowHostIPC: false | ||
allowHostNetwork: false | ||
allowHostPID: false | ||
allowHostPorts: false | ||
allowPrivilegedContainer: false | ||
fsGroup: | ||
type: RunAsAny | ||
runAsUser: | ||
type: MustRunAsNonRoot | ||
seLinuxContext: | ||
type: MustRunAs | ||
supplementalGroups: | ||
type: RunAsAny | ||
volumes: | ||
- configMap | ||
- downwardAPI | ||
- emptyDir | ||
- persistentVolumeClaim | ||
- projected | ||
- secret | ||
EOF | ||
# Grant the SCC to the PMM service account | ||
oc adm policy add-scc-to-user pmm-scc -z pmm-sa -n <your-namespace> | ||
``` |
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 don't really need custom SCC
secret: | ||
create: false | ||
name: pmm-secret |
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.
I'm curious where this came from
10. (OpenShift only) Ensure adequate resources: | ||
```yaml | ||
resources: | ||
requests: | ||
memory: "2Gi" | ||
cpu: "1000m" | ||
limits: | ||
memory: "4Gi" | ||
cpu: "2000m" | ||
``` | ||
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.
I don't think it's the case
documentation/docs/install-pmm/install-pmm-server/deployment-options/helm/index.md
Outdated
Show resolved
Hide resolved
### OpenShift-specific requirements | ||
For OpenShift deployments, you'll also need: | ||
|
||
- OpenShift Container Platform 4.15. Other versions will likely work but they haven't been tested |
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 tested starting from 4.16
|
||
- [Helm v3](https://docs.helm.sh/using_helm/#installing-helm) | ||
- Kubernetes cluster running a [supported version](https://kubernetes.io/releases/version-skew-policy/#supported-versions) and [Supported Helm](https://helm.sh/docs/topics/version_skew/) versions | ||
- Storage driver with snapshot support (for backups) |
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.
In previous line "Supported Helm" probaly should be "supported Helm"
documentation/docs/install-pmm/install-pmm-server/deployment-options/helm/index.md
Outdated
Show resolved
Hide resolved
…ptions/helm/index.md Co-authored-by: Nurlan Moldomurov <[email protected]>
documentation/docs/install-pmm/install-pmm-server/deployment-options/helm/index.md
Show resolved
Hide resolved
documentation/docs/install-pmm/install-pmm-server/deployment-options/helm/index.md
Outdated
Show resolved
Hide resolved
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.
I'm approving PR, but we need another look of @nogueiraanderson
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.
🚫 [linkspector] reported by reviewdog 🐶
Cannot reach https://percona-pmm.readme.io/v3/reference/release-notes-3-4-0 Status: 404
For technical details about API enhancements, see the [API Release Notes](https://percona-pmm.readme.io/v3/reference/release-notes-3-4-0). |
PMM-0
Link to the Feature Build: SUBMODULES-0
If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:
If this PR is related to some other PRs in this or other repositories, please provide links to those PRs: