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
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: harvest-demo | |
namespace: harvesttest | |
spec: | |
selector: | |
matchLabels: | |
app: harvest-demo |
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
#!/bin/bash | |
# | |
# interactive: Obtain interactive shell with slurm allocation | |
# | |
# Basically simulates: | |
# | |
# salloc -n1 srun --x11 --pty bash | |
# defaults | |
readonly DEF_NUM_NODES=1 |
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
#!/bin/bash | |
source /etc/slurm/prolog-epilog.config | |
GPU_INFO_PROM=${METRICS_DIR}/slurm_job_gpu_info-${SLURM_JOB_ID}.prom | |
rm -f $GPU_INFO_PROM | |
exit 0 |
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
namespace: k8-ldap-configmap | |
name: user-gids-map | |
data: | |
user-tdockendorf: '[5356, 5509]' |
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
{ | |
"id" : "43fc6a27-d53c-4593-87ab-ef1730f82b89", | |
"clientId" : "<XDMOD Client ID>", | |
"surrogateAuthRequired" : false, | |
"enabled" : true, | |
"alwaysDisplayInConsole" : false, | |
"clientAuthenticatorType" : "client-secret", | |
"redirectUris" : [ "https://<XDMOD server name>/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp" ], | |
"webOrigins" : [ "https://<XDMOD server name>" ], | |
"notBefore" : 0, |
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
<VirtualHost *:443> | |
ServerName prometheus.DOMAIN | |
<Location "/"> | |
<RequireAny> | |
Require claim groups:oscall | |
</RequireAny> | |
AuthType openid-connect | |
</Location> |
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
var app_ident = require('../app_ident.js'); | |
var map_helpers = require('../map_helpers.js'); | |
module.exports = function(config) { | |
var appident = app_ident(config.applicationDefn); | |
var getHardwareConfig = function (setting, default_val) { | |
var val = config.hardware; | |
var props = setting.split('.'); | |
for (let i = 0; i < props.length; i++) { |
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
{ | |
"resources": [ | |
{ | |
"resource": "owens", | |
"resource_id": 1, | |
"enabled": true, | |
"datasetmap": "prometheus-osc", | |
"hardware": { | |
"gpfs": "scratch", | |
"network": "eth0" |
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
{ | |
// Configuration settings for job data input | |
// The database configuration below assumes everything on the same host and | |
// XDMoD is installed on the host too. | |
// | |
// It is not necessary for all databases to run locally. A more complex | |
// configuration could have multiple hosts and different credentials for | |
// each DB. | |
"xdmodroot": "/etc/xdmod", | |
"datawarehouse": { |
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
package main | |
import ( | |
"log" | |
"os" | |
"regexp" | |
"time" | |
expect "github.com/google/goexpect" | |
) |
NewerOlder