- Get httpd.conf
podman run --rm httpd:2.4 cat /usr/local/apache2/conf/httpd.conf > httpd.conf
#!/bin/env python#!/bin/env python | |
# https://github.com/puppetlabs/puppet/blob/stable/api/docs/http_certificate_status.md | |
import os | |
import sys | |
import json | |
import requests | |
import argparse | |
import subprocess |
# -- Bootstrap kubelet on each node | |
cat <<EOF > /etc/yum.repos.d/kubernetes.repo | |
[kubernetes] | |
name=Kubernetes | |
baseurl=http://yum.kubernetes.io/repos/kubernetes-el7-x86_64 | |
enabled=1 | |
gpgcheck=1 | |
repo_gpgcheck=1 | |
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Module Docstring | |
""" | |
__author__ = "Your Name" | |
__version__ = "0.1.0" | |
import argparse |
git clone https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner.git | |
cd nfs-subdir-external-provisioner | |
sed -i.backup 's/nfs-client/nfs-storage/g' ./deploy/class.yaml | |
sed -i.backup 's/namespace:.*/namespace: nfs-storage/g' ./deploy/rbac.yaml | |
sed -i.backup 's/namespace:.*/namespace: nfs-storage/g' ./deploy/deployment.yaml | |
vi ./deploy/deployment.yaml | |
# Update NFS_SERVER and NFS_PATH values (4 edits required) |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: python-http | |
labels: | |
app: python-http | |
data: | |
app.py: | | |
import logging | |
from http.server import HTTPServer, BaseHTTPRequestHandler |
kind: ImageSetConfiguration | |
apiVersion: mirror.openshift.io/v1alpha2 | |
storageConfig: | |
local: | |
path: ./ | |
mirror: | |
platform: | |
channels: |
Option | Documentation |
---|---|
-C | Show bytes transferred by each child in throughput testing. Useful if your operating system has any starvation problems in file I/O or in process management. |
-w | Do not unlink temporary files when finished using them. |
-c | Include close() in the timing calculations. This is useful only if you suspect that close() is broken in the operating system currently under test. It can be useful for NFS Version 3 testing as well to help identify if the nfs3_commit is working well. |
-e | Include flush (fsync,fflush) in the timing calculations |