-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into edit-setup-content-initial
- Loading branch information
Showing
13 changed files
with
880 additions
and
392 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 |
---|---|---|
|
@@ -2,3 +2,6 @@ dirs: | |
- ./content/ | ||
|
||
useGitIgnore: true | ||
|
||
ignorePatterns: | ||
- pattern: '^http://localhost:.*$' |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Known issues | ||
|
||
Workaround solutions are available for the following MKE 4.0.0-alpha.1.0 known | ||
issues: | ||
|
||
## [BOP-708] OIDC authenticaion fails after mkectl upgrade | ||
|
||
Due to an issue with client secret migration, OIDC authentication fails | ||
following an upgrade performed with mkectl. | ||
|
||
**Workaround:** | ||
|
||
1. Copy the MKE 4 config that prints at the end of migration. | ||
|
||
2. Update the ``authentication.oidc.clientSecret`` field to the secret field | ||
from your identity provider. | ||
|
||
3. Apply the updated MKE 4 config. | ||
|
||
## [BOP-686] In MKE 3 upgrade, kubectl commands return ``No agent available`` | ||
|
||
For a cluster with multiple controller nodes (manager/master nodes), [k0s | ||
requires the presence ofa load balancer for the controller | ||
node](https://docs.k0sproject.io/head/high-availability/ ). Without a load | ||
balancer, the controller nodes is unable to reach the kubelet on the worker | ||
nodes, and thus the user will be presented with ``No agent available`` errors. | ||
|
||
**Workaround:** | ||
|
||
1. If an external load balancer is not already in place, create one that | ||
targets all controllers and that forwards the following ports: | ||
|
||
- `443`, for controller | ||
- `6443`, for Kubernetes API | ||
- `8132`, for Konnectivity | ||
|
||
2. Use `k0sctl` to update the `k0s` config to set `externalAddress`: | ||
|
||
``` | ||
k0s: | ||
config: | ||
spec: | ||
api: | ||
externalAddress: <load balancer public ip address> | ||
sans: | ||
- <load balancer public ip address> | ||
``` |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Backup and Restore | ||
|
||
>MKE 4 backup is enabled by default. | ||
MKE 4 supports backup and restore of cluster data through the use of the | ||
[Velero](https://velero.io/) addon. | ||
|
||
## Configuration | ||
|
||
The `backup` section of the MKE4 configuration file renders as follows: | ||
|
||
```yaml | ||
backup: | ||
enabled: true | ||
storage_provider: | ||
type: InCluster | ||
in_cluster_options: | ||
exposed: true | ||
distributed: false | ||
``` | ||
By default, MKE 4 supports backups that use the in-cluster storage | ||
provider, as indicated in the `type` option setting of `InCluster`. MKE 4 | ||
in-cluster backups are implemented using the [MinIO | ||
addon](https://microk8s.io/docs/addon-minio). | ||
|
||
The `exposed` option setting of `true` indicates that the MinIO service is | ||
exposed through `NodePort`, which Velero requires to function correctly. Core | ||
backup functionality should work, however, even if | ||
the service is not exposed. | ||
|
||
The `distributed` option configures MinIO storage to run in distributed mode. | ||
|
||
Refer to the following table for detail on all of the conifguration file | ||
`backup` fields: | ||
|
||
| Field | Description | Valid values | Default | | ||
|------------------------------------------------------------|------------------------------------------------------------------------------------|---------------------|:---------:| | ||
| enabled | Indicates whether backup/restore functionality is enabled. | true, false | true | | ||
| storage_provider.type | Indicates whether the storage type in use is in-cluster or external. | InCluster, External | InCluster | | ||
| storage_provider.in_cluster_options.exposed | Indicates whether to expose InCluster (MinIO) storage through NodePort. | true, false | true | | ||
| storage_provider.in_cluster_options.distributed | Indicates whether to run MinIO in distributed mode. | true, false | false | | ||
| storage_provider.external_options.provider | Name of the external storage provider. AWS is currently the only available option. | aws | aws | | ||
| storage_provider.external_options.bucket | Name of the pre-created bucket to use for backup storage. | "" | "" | | ||
| storage_provider.external_options.region | Region in which the bucket exists. | "" | "" | | ||
| storage_provider.external_options.credentials_file_path | Path to the credentials file. | "" | "" | | ||
| storage_provider.external_options.credentials_file_profile | Profile in the Credentials file to use. | "" | "" | | ||
|
||
## Create backups and perform restores | ||
|
||
For information on how to create backups and perform restores for both storage | ||
provider types, refer to: | ||
|
||
- In-cluster storage provider: [in_cluster.md](./in_cluster.md) | ||
- External storage provider: [external.md](./external.md) | ||
|
||
## Existing Limitations | ||
|
||
- Scheduled backups, an MKE 3 feature that is planned for integration to MKE 4, | ||
have not yet been implemented. | ||
|
||
- Backups must currently be restored in the same cluster in which the backup | ||
was taken, and thus restoring a backup to a new set of nodes is not yet | ||
supported for the in-cluster storage provider. |
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.