You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/get-started.md
+9-5
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ The following example sets up the Ark server and client, then backs up and resto
4
4
5
5
For simplicity, the example uses Minio, an S3-compatible storage service that runs locally on your cluster.
6
6
7
-
**NOTE** The example lets you explore basic Ark functionality. In the real world, however, you would back your cluster up to external storage.
7
+
**NOTE** The example lets you explore basic Ark functionality. Configuring Minio for production is out of scope.
8
8
9
9
See [Set up Ark on your platform][3] for how to configure Ark for a production environment.
10
10
@@ -26,7 +26,7 @@ NOTE: Make sure to check out the appropriate version. We recommend that you chec
26
26
27
27
### Set up server
28
28
29
-
These instructions assume that you are running Minio inside your cluster. They should be used for a test environment or to explore Ark only. Service of type `NodePort` is not recommended for production.
29
+
These instructions assume that you are running Minio inside your cluster. They should be used for a test environment or to explore Ark only.
30
30
31
31
1. In `examples/minio/00-minio-deployment.yaml`, change the value of Service `spec.type` from `ClusterIP` to `NodePort`.
32
32
@@ -55,14 +55,18 @@ These instructions assume that you are running Minio inside your cluster. They s
55
55
kubectl -n heptio-ark get svc/minio -o jsonpath='{.spec.ports[0].nodePort}'
56
56
```
57
57
58
-
1. **For Service type `NodePort` only** In `examples/minio/05-ark-backupstoragelocation.yaml`, replace NODE_URL_OR_IP:NODE_PORT with the value of the Minio URL.
58
+
1. Do one of the following:
59
59
60
-
1. If you have set up Ingress or a load balancer, SOMETHINGSOMETHING PR 1006
60
+
- **For Service type `NodePort` only** In `examples/minio/05-ark-backupstoragelocation.yaml`, replace NODE_URL_OR_IP:NODE_PORT with the value of the Minio URL.
61
+
62
+
- If you have set up Ingress or a load balancer, leave the Service `spec.type` as `ClusterIP` and leave the default value of `s3Url` in `examples/minio/05-ark-backupstoragelocation.yaml`.
63
+
64
+
- If you set up a download URL, for example for logs, instead of a value for `s3Url` you can provide a value for `publicUrl` in `examples/minio/05-ark-backupstoragelocation.yaml`.
Copy file name to clipboardexpand all lines: docs/rbac.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Run Ark more securely with restrictive RBAC settings
2
2
3
-
By default Ark runs with an RBAC policy of ClusterRole `cluster-admin`. This is to make sure that Ark can back up or restore anything in your cluster. But `cluster-admin` access is wide open -- it gives Ark components access to everything in your cluster. Depending on your environment and your security needs, you should consider whether to configure more restrictive access.
3
+
By default Ark runs with an RBAC policy of ClusterRole `cluster-admin`. This is to make sure that Ark can back up or restore anything in your cluster. But `cluster-admin` access is wide open -- it gives Ark components access to everything in your cluster. Depending on your environment and your security needs, you should consider whether to configure additional RBAC policies with more restrictive access.
4
4
5
5
**Note:** Roles and RoleBindings are associated with a single namespaces, not with an entire cluster. PersistentVolume backups are associated only with an entire cluster. This means that any backups or restores that use a restrictive Role and RoleBinding pair can manage only the resources that belong to the namespace. You do not need a wide open RBAC policy to manage PersistentVolumes, however. You can configure a ClusterRole and ClusterRoleBinding that allow backups and restores only of PersistentVolumes, not of all objects in the cluster.
6
6
@@ -11,7 +11,7 @@ For more information about RBAC and access control generally in Kubernetes, see
Copy file name to clipboardexpand all lines: docs/versions.md
+2
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ Breaking changes are documented in the release notes and in the documentation.
19
19
Not all Ark versions support all versions of Kubernetes. You should be aware of the following known limitations:
20
20
21
21
- Ark version 0.9.0 requires Kubernetes version 1.8 or later. In version 0.9.1, Ark was updated to support earlier versions.
22
+
- Restic support requires Kubernetes version 1.10 or later, or an earlier version with the mount propagation feature enabled. See [Restic Integration][3].
0 commit comments