Skip to content

Instantly share code, notes, and snippets.

View emreozkangit's full-sized avatar

Emre Özkan emreozkangit

View GitHub Profile
apiVersion: v1
baseDomain: basedomain
compute:
- architecture: amd64
hyperthreading: Enabled
name: worker
platform: {}
replicas: 0
controlPlane:
architecture: amd64
apiVersion: v1
kind: Pod
metadata:
name: http
labels:
role: http
spec:
containers:
- name: http
image: registry.redhat.io/rhscl/httpd-24-rhel7:2.4-170
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: vuln
name: vuln
spec:
replicas: 1
selector:
apiVersion: v1
kind: Pod
metadata:
name: influxdb1
spec:
runtimeClassName: kata
containers:
- name: influxdb1
image: influxdb
apiVersion: kataconfiguration.openshift.io/v1
kind: KataConfig
metadata:
name: example-kataconfig
**hostNetwork:**
apiVersion: v1
kind: Pod
metadata:
name: influxdb
spec:
hostNetwork: true
containers:
- name: influxdb
apiVersion: v1
kind: Pod
metadata:
name: security-context-demo
spec:
securityContext:
runAsUser: 1000
runAsGroup: 3000
fsGroup: 2000
volumes:
Note: using Easy-RSA configuration from: /etc/openvpn/easy-rsa/vars
init-pki complete; you may now create a CA or requests.
Your newly created PKI dir is: /etc/openvpn/easy-rsa/pki
Using SSL: openssl OpenSSL 1.1.1g FIPS 21 Apr 2020
read EC key
writing EC key
Note: using Easy-RSA configuration from: /etc/openvpn/easy-rsa/vars
Using SSL: openssl OpenSSL 1.1.1g FIPS 21 Apr 2020
Generating an EC private key
writing new private key to '/etc/openvpn/easy-rsa/pki/easy-rsa-46209.5cFmTY/tmp.vkF2sV'
Welcome to the OpenVPN installer!
The git repository is available at: https://github.com/angristan/openvpn-install
I need to ask you a few questions before starting the setup.
You can leave the default options and just press enter if you are ok with them.
I need to know the IPv4 address of the network interface you want OpenVPN listening to.
Unless your server is behind NAT, it should be your public IPv4 address.
IP address: *******
[root@clientvm 0 ~]# oc describe node ip-10-0-132-89.us-east-2.compute.internal
Name: ip-10-0-132-89.us-east-2.compute.internal
Roles: worker
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/instance-type=m5a.large
beta.kubernetes.io/os=windows
failure-domain.beta.kubernetes.io/region=us-east-2
failure-domain.beta.kubernetes.io/zone=us-east-2a
kubernetes.io/arch=amd64
kubernetes.io/hostname=ec2amaz-1nsvq3t