Skip to content

Commit

Permalink
fixing one image
Browse files Browse the repository at this point in the history
  • Loading branch information
ivukotic committed Aug 29, 2023
1 parent 07e2782 commit 11b62a4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
4 changes: 2 additions & 2 deletions charts/xcache/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v1
name: xcache
# Chart version
version: 0.7.5
version: 0.7.6
description: XCache is a xrootd based caching service for k8s
# Version of application packaged for installation
appVersion: "5.4.0"
appVersion: "5.4.1"
home: http://slateci.io/XCache/
maintainers:
- name: Ilija Vukotic
Expand Down
32 changes: 18 additions & 14 deletions charts/xcache/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
# XCache

**NOTE**: This SLATE application requires a X509 certificate to be
installed on the target cluster in order to successfully deploy. Click [here](https://portal.slateci.io/secrets) to add a secret in the SLATE portal.
**NOTE**: This SLATE application requires a X509 certificate to be installed on the target cluster in order to successfully deploy. Click [here](https://portal.slateci.io/secrets) to add a secret in the SLATE portal.

*Image source*: https://github.com/slateci/XCache
*Image source*: <https://github.com/slateci/XCache>

## Usage
```console
$ slate app get-conf xcache > xcache.yaml
$ slate app install --group <group-name> --cluster <cluster-name> xcache.yaml
```
## Usage

```console
slate app get-conf xcache > xcache.yaml
slate app install --group <group-name> --cluster <cluster-name> xcache.yaml
```

## Introduction
XCache is a service that provides caching of data accessed using [xrootd protocol](http://xrootd.org/). It sits in between client and an upstream xrootd servers and can cache/prefetch full files or only blocks already requested.

To run this chart one needs a k8s cluster with a node labeled: __xcache: "<Instance>"__. Instance is the same value as in values.yaml file. This node will have at least 10Gbps connection and at least few TB local disk (preferably mounted at __/scratch__).
XCache is a service that provides caching of data accessed using [xrootd protocol](http://xrootd.org/). It sits in between client and an upstream xrootd servers and can cache/prefetch full files or only blocks already requested.

To run this chart one needs a k8s cluster with a node labeled: **xcache: "<Instance>"**. Instance is the same value as in values.yaml file. This node will have at least 10Gbps connection and at least few TB local disk (preferably mounted at **/scratch**).

To set it up one needs to change values in values.yaml, all other variables have good default values:

```
```yaml
Instance: <Instance> # change only if you have more than one XCache server.
SiteConfig:
Name: MWT2
Expand All @@ -35,10 +36,13 @@ Service:
```
XCache nodes should be tainted:
```
kubectl taint nodes "xcache nodename" xcache=true:PreferNoSchedule
```

and labeled:

```
kubectl label nodes <your-node-name> xcache=<Instance>
```
Expand All @@ -52,10 +56,10 @@ kubectl label nodes <your-node-name> xcache=<Instance>
To install the chart with the release name `test-release`:

```bash
$ helm install --name test-release xcache
helm install --name test-release xcache
```

The command deploys xcache on the Kubernetes cluster in the default configuration.
The command deploys xcache on the Kubernetes cluster in the default configuration.

> **Tip**: List all releases using `helm list`
Expand All @@ -64,7 +68,7 @@ The command deploys xcache on the Kubernetes cluster in the default configuratio
To uninstall/delete the `test-release` deployment:

```bash
$ helm delete test-release
helm delete test-release
```

The command removes all the Kubernetes components associated with the chart and deletes the release.
2 changes: 1 addition & 1 deletion charts/xcache/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ spec:
mountPath: "/xcache/meta"

- name: x509
image: "slateci/xcache:testing"
image: "hub.opensciencegrid.org/usatlas/atlas-xcache:latest"
command: ["/usr/local/sbin/run_x509_updater.sh"]
resources:
requests:
Expand Down

0 comments on commit 11b62a4

Please sign in to comment.