Skip to content
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

Document advertising additional startd attributes (SOFTWARE-5324) #134

Merged
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/resource-sharing/os-backfill-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,26 @@ the `--memory` argument tells Docker to kill the container if its total memory u
Additionally, the processes that manage jobs also use some amount of memory.
Therefore, it is important to give the container some extra room.


### Advanced: Advertising additional pilot attributes

You can put arbitrary additional attributes in the machine ads that you advertise to the OSPool.
matyasselmeci marked this conversation as resolved.
Show resolved Hide resolved
matyasselmeci marked this conversation as resolved.
Show resolved Hide resolved
These attributes will show up when you do `condor_status -l` on your machine.
matyasselmeci marked this conversation as resolved.
Show resolved Hide resolved
matyasselmeci marked this conversation as resolved.
Show resolved Hide resolved
This could be useful for advertising something about the way the pilot was provisioned.
To do this, volume-mount a file containing `key=value` pairs to `/etc/osg/extra-attributes.cfg`.
Keys must be valid classad attribute names and values must be valid classad expressions.
Multi-line strings are not supported.
A line starting with `#` will be treated as a comment.
For example:

```
# The Kubernetes namespace this pod is running under
KUBERNETES_NAMESPACE = "path-osgdev"
# The deployment for this pilot
KUBERNETES_DEPLOYMENT = "osgvo-docker-pilot-gpu"
```


Best Practices
--------------

Expand Down