Coder Social home page Coder Social logo

Comments (1)

ShylajaDevadiga avatar ShylajaDevadiga commented on July 20, 2024

Validated using latest commit id 3f906be on master branch

Environment Details

Infrastructure
Cloud EC2 instance

Node(s) CPU architecture, OS, and Version:

cat /etc/os-release
NAME="SLES"
VERSION="15-SP5"
VERSION_ID="15.5"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP5"

Cluster Configuration:
Single node

Config.yaml:

cat /etc/rancher/k3s/config,yaml
write-kubeconfig-mode: "0644"
cluster-init: true
secrets-encryption: true

Steps to reproduce the issue and validate

  1. Copy config.yaml
  2. Install k3s
  3. Check the certs in the tls dir and the backup dir

Replication results:

ec2-user@ip-172-31-9-108:~> k3s -v
k3s version v1.29.3+k3s1 (8aecc26b)
go version go1.21.8

ec2-user@ip-172-31-9-108:~> sudo diff -sr /var/lib/rancher/k3s/server/tls /var/lib/rancher/k3s/server/tls-1712865517 | grep -i identical |grep supervisor
Files /var/lib/rancher/k3s/server/tls/client-supervisor.crt and /var/lib/rancher/k3s/server/tls-1712865517/client-supervisor.crt are identical
Files /var/lib/rancher/k3s/server/tls/client-supervisor.key and /var/lib/rancher/k3s/server/tls-1712865517/client-supervisor.key are identical
ec2-user@ip-172-31-9-108:~> sudo ls -l /var/lib/rancher/k3s/server/tls|grep supervisor
-rw-r--r-- 1 root root 1181 Apr 11 19:57 client-supervisor.crt
-rw------- 1 root root  227 Apr 11 19:57 client-supervisor.key
ec2-user@ip-172-31-9-108:~> sudo ls -l /var/lib/rancher/k3s/server/tls-1712865517|grep supervisor
-rw-r--r-- 1 root root 1181 Apr 11 19:58 client-supervisor.crt
-rw------- 1 root root  227 Apr 11 19:58 client-supervisor.key

Validation results:

ec2-user@ip-172-31-2-226:~> k3s -v
k3s version v1.29.3+k3s-3f906bee (3f906bee)
go version go1.21.8

ec2-user@ip-172-31-2-226:~> sudo diff -sr /var/lib/rancher/k3s/server/tls /var/lib/rancher/k3s/server/tls-1712865631 | grep -i identical |grep supervisor
ec2-user@ip-172-31-2-226:~> sudo ls -l /var/lib/rancher/k3s/server/tls |grep supervisor
-rw-r--r-- 1 root root 1189 Apr 11 20:00 client-supervisor.crt
-rw------- 1 root root  227 Apr 11 20:00 client-supervisor.key
ec2-user@ip-172-31-2-226:~> sudo ls -l /var/lib/rancher/k3s/server/tls-1712865631 |grep supervisor
-rw-r--r-- 1 root root 1185 Apr 11 20:00 client-supervisor.crt
-rw------- 1 root root  227 Apr 11 20:00 client-supervisor.key

from k3s.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.