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
FROM debian@sha256:dcce2735994561125a989a5d13abe6b07e43c1dc6b19780b375bf9a53080ec83 | |
MAINTAINER Gurvinder Singh <[email protected]> | |
ENV APACHE_SPARK_VERSION 1.6.1 | |
# Install the dependecies | |
RUN apt-get update && apt-get -y --no-install-recommends install \ | |
openjdk-8-jre wget && \ | |
apt-get clean && rm -rf /var/lib/apt/lists/* |
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: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: gluster | |
spec: | |
template: | |
metadata: | |
labels: | |
app: gluster | |
spec: |
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
[Unit] | |
Description=Mount Gluster using rkt fly shared mount on host | |
[Service] | |
ExecStartPre=/bin/bash -c 'umount -l /gluster || true' | |
ExecStart=/usr/bin/rkt run \ | |
--insecure-options=image docker://gurvin/gluster-client:0.1.3 \ | |
--stage1-name=coreos.com/rkt/stage1-fly:1.12.0 \ | |
--volume mnt,kind=host,source=/daas,readOnly=false \ | |
--mount volume=mnt,target=/mnt \ |
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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: gpu | |
labels: | |
app: gpu | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
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
function(request) { | |
local service = request.object, | |
// Uncommenting this cause error as | |
// Expected token OPERATOR but got (".", ".") | |
// as DecoratorController does not support status like "labels or annotations" | |
// service.status.loadBalancer: | |
// if service.spec.type == "LoadBalancer" then | |
// { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |