podman pod create \
--name YOUR_POD_NAME \
-p 8080:8080
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.m88i.io/v1alpha1 | |
kind: Nexus | |
metadata: | |
name: nexus3 | |
spec: | |
serviceAccountName: nexus3 | |
resources: | |
limits: | |
cpu: '2' | |
memory: 3Gi |
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
#version=CentOS 8 Stream | |
# Use text install | |
text | |
skipx | |
%packages | |
@^virtualization-host-environment | |
@remote-system-management | |
@virtualization-platform |
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: cert-manager.io/v1 | |
kind: ClusterIssuer | |
metadata: | |
name: clusterissuer | |
spec: | |
acme: | |
email: emailbox@emaildomain.tld | |
# server: https://acme-v02.api.letsencrypt.org/directory | |
server: https://acme-staging-v02.api.letsencrypt.org/directory | |
privateKeySecretRef: |
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: Pod | |
metadata: | |
name: pod | |
labels: | |
app: podapp | |
spec: | |
containers: |
This is the manual process for enrolling a host running SUSE/SLE 12 SP2 with FreeIPA.
The following reference documentation was used to create this process:
- An outdated guide on Enrolling a SUSE machine with FreeIPA
- The Manual FreeIPA guide from the RedHat documentation.
I do not recommend using yast to set this up, however it is useful to check if the configuration is valid. SUSE/SLE has all the required packages to use FreeIPA but does not have the conveinent ipa-client
tools, such as ipa-client-install
.
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 | |
sshpass -p redhat ssh -o StrictHostKeyChecking=no root@workstation 'wget -c https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest/openshift-client-linux.tar.gz' | |
sshpass -p redhat ssh -o StrictHostKeyChecking=no root@workstation 'tar -xvf openshift-client-linux.tar.gz --overwrite -C /usr/local/bin/' |
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 | |
# this sample script is ping computers in loop. | |
# It uses conditional expression with color echo | |
for HOST in $(seq $1 $2) | |
do | |
echo -en "\nlets try ping $HOST: " | |
if ping -c 1 -W 1 f${HOST} >/dev/null 2>&1 | |
then | |
echo -e "\e[1;32m alive \e[0m" |
Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font
To setup native Linux, see this gist
NewerOlder