2023-10-01から1ヶ月間の記事一覧

nmapによるポートスキャン

nmpをインスタンスする $ sudo apt install -y nmap Nmap version 7.80 ( https://nmap.org ) Platform: x86_64-pc-linux-gnu Compiled with: liblua-5.3.6 openssl-3.0.2 nmap-libssh2-1.8.2 libz-1.2.11 libpcre-8.39 libpcap-1.10.1 nmap-libdnet-1.12 ip…

k3s+helmのインストール

環境:Ubuntu20.04 # Install K3S curl -sfL https://get.k3s.io | sh - # Copy k3s config mkdir $HOME/.kube sudo cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config sudo chmod 644 $HOME/.kube/conf # helm install $ curl -fsSL -o get_helm.sh https:/…

KubernetesのNodePortがホストマシンからアクセスできることを確認した

KubernetesのSericeのNodePortが、ホストマシンからアクセスを確認した 環境:Ubuntu+k3s Deployment, Serviceを以下とする。 deploy.yaml apiVersion: apps/v1 kind: Deployment metadata: name: web-deploy spec: replicas: 1 selector: matchLabels: app:…

Jenkinsのhelm chartをインストールした

github.com を参考にインストールした $ helm repo add jenkins https://charts.jenkins.io $ helm repo update $ helm install jenkins jenkins/jenkins NAME: jenkins LAST DEPLOYED: Sat Oct 30 16:21:03 2021 NAMESPACE: default STATUS: deployed REVIS…

GitLabのhelm chartをインストールした

docs.gitlab.com を参考にhelm chartを活用してGitLabをインストールする。 環境はk3s + helmである。 $ helm repo add gitlab https://charts.gitlab.io/ $ helm repo update $ helm upgrade --install gitlab gitlab/gitlab \ --timeout 600s \ --set glob…