Skip to content

Commit

Permalink
AUTO: Sync Kubernetes docs to ScalarDL docs site repo (#453)
Browse files Browse the repository at this point in the history
Co-authored-by: josh-wong <[email protected]>
  • Loading branch information
github-actions[bot] and josh-wong authored Sep 9, 2024
1 parent e9fba2f commit dec8361
Showing 1 changed file with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,9 @@ helm repo update

Please get the sample file [scalar-loki-stack-custom-values.yaml](https://github.com/scalar-labs/scalar-kubernetes/blob/master/conf/scalar-loki-stack-custom-values.yaml) for loki-stack. For the logging of Scalar products, this sample file's configuration is recommended.

### Set nodeSelector in the custom values file (Recommended in the production environment)
### Set nodeSelector in the custom values file (Optional)

In the production environment, it is recommended to add labels to the worker node for Scalar products as follows.

* [EKS - Add a label to the worker node that is used for nodeAffinity](CreateEKSClusterForScalarProducts.mdx#add-a-label-to-the-worker-node-that-is-used-for-nodeaffinity)
* [AKS - Add a label to the worker node that is used for nodeAffinity](CreateAKSClusterForScalarProducts.mdx#add-a-label-to-the-worker-node-that-is-used-for-nodeaffinity)

Since the promtail pods deployed in this document collect only Scalar product logs, it is sufficient to deploy promtail pods only on the worker node where Scalar products are running. So, you should set nodeSelector in the custom values file (scalar-loki-stack-custom-values.yaml) as follows if you add labels to your Kubernetes worker node. See the following examples based on the product you're using.
You might need to set nodeSelector in the custom values file (scalar-loki-stack-custom-values.yaml) as follows if you add labels to your Kubernetes worker node. See the following examples based on the product you're using.

<Tabs groupId="products" queryString>
<TabItem value="scalardb" label="ScalarDB" default>
Expand Down Expand Up @@ -91,14 +86,9 @@ Since the promtail pods deployed in this document collect only Scalar product lo
</TabItem>
</Tabs>

### Set tolerations in the custom values file (Recommended in the production environment)

In the production environment, it is recommended to add taints to the worker node for Scalar products as follows.

* [EKS - Add taint to the worker node that is used for toleration](CreateEKSClusterForScalarProducts.mdx#add-taint-to-the-worker-node-that-is-used-for-toleration)
* [AKS - Add taint to the worker node that is used for toleration](CreateAKSClusterForScalarProducts.mdx#add-taint-to-the-worker-node-that-is-used-for-toleration)
### Set tolerations in the custom values file (Optional)

Since promtail pods are deployed as DaemonSet, you must set tolerations in the custom values file (scalar-loki-stack-custom-values.yaml) as follows if you add taints to your Kubernetes worker node. See the following examples based on the product you're using.
You might need to set tolerations in the custom values file (scalar-loki-stack-custom-values.yaml) as follows if you add taints to your Kubernetes worker node. See the following examples based on the product you're using.

<Tabs groupId="products" queryString>
<TabItem value="scalardb" label="ScalarDB" default>
Expand Down

0 comments on commit dec8361

Please sign in to comment.