diff --git a/.metals/metals.log b/.metals/metals.log new file mode 100644 index 000000000..64bfb8fb8 --- /dev/null +++ b/.metals/metals.log @@ -0,0 +1,37 @@ +2023.09.13 12:01:58 INFO Started: Metals version 1.0.1 in folders '/Users/inductor/go/src/github.com/GiganticMinecraft/seichi_infra' for client Visual Studio Code 1.81.1. +9月 13, 2023 12:01:58 午後 org.flywaydb.core.internal.license.VersionPrinter printVersionOnly +情報: Flyway Community Edition 9.21.2 by Redgate +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.license.VersionPrinter printVersion +情報: See release notes here: https://rd.gt/416ObMi +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.license.VersionPrinter printVersion +情報: +9月 13, 2023 12:01:59 午後 org.flywaydb.core.FlywayExecutor execute +情報: Database: jdbc:h2:file:/Users/inductor/go/src/github.com/GiganticMinecraft/seichi_infra/.metals/metals (H2 2.1) +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory allAppliedMigrations +情報: Schema history table "PUBLIC"."flyway_schema_history" does not exist yet +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.command.DbValidate validate +情報: Successfully validated 4 migrations (execution time 00:00.006s) +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory create +情報: Creating Schema History table "PUBLIC"."flyway_schema_history" ... +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.command.DbMigrate migrateGroup +情報: Current version of schema "PUBLIC": << Empty Schema >> +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.command.DbMigrate doMigrateGroup +情報: Migrating schema "PUBLIC" to version "1 - Create tables" +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.command.DbMigrate doMigrateGroup +情報: Migrating schema "PUBLIC" to version "2 - Server discovery" +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.command.DbMigrate doMigrateGroup +情報: Migrating schema "PUBLIC" to version "3 - Jar symbols" +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.command.DbMigrate doMigrateGroup +情報: Migrating schema "PUBLIC" to version "4 - Fingerprints" +9月 13, 2023 12:01:59 午後 org.flywaydb.core.internal.command.DbMigrate logSummary +情報: Successfully applied 4 migrations to schema "PUBLIC", now at version v4 (execution time 00:00.010s) +2023.09.13 12:01:59 INFO time: initialize in 0.32s +2023.09.13 12:02:00 WARN Build server is not auto-connectable. +2023.09.13 12:02:00 WARN no build tool detected in workspace '/Users/inductor/go/src/github.com/GiganticMinecraft/seichi_infra'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt.  +9月 13, 2023 12:02:59 午後 org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify +情報: Unsupported notification method: $/setTrace +9月 13, 2023 12:02:59 午後 org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify +情報: Unsupported notification method: $/setTrace +2023.09.13 12:40:27 INFO Shutting down server +2023.09.13 12:40:27 INFO shutting down Metals +2023.09.13 12:40:27 INFO Exiting server diff --git a/.metals/metals.mv.db b/.metals/metals.mv.db new file mode 100644 index 000000000..fd9b908db Binary files /dev/null and b/.metals/metals.mv.db differ diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..32cfc61d2 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.watcherExclude": { + "**/target": true + } +} \ No newline at end of file diff --git a/seichi-onp-k8s/cluster-boot-up/scripts/nodes/k8s-node-setup.sh b/seichi-onp-k8s/cluster-boot-up/scripts/nodes/k8s-node-setup.sh index 41e8eb974..13877f4ff 100644 --- a/seichi-onp-k8s/cluster-boot-up/scripts/nodes/k8s-node-setup.sh +++ b/seichi-onp-k8s/cluster-boot-up/scripts/nodes/k8s-node-setup.sh @@ -118,8 +118,8 @@ sysctl --system curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list apt-get update -apt-get install -y kubelet=1.27.5-00 kubeadm=1.27.5-00 kubectl=1.27.5-00 -apt-mark hold kubelet kubeadm kubectl +apt-get install -y kubeadm kubelet=1.27.5-00 kubectl=1.27.5-00 +apt-mark hold kubelet kubectl # Disable swap swapoff -a @@ -265,10 +265,11 @@ esac # Set kubeadm bootstrap token using openssl KUBEADM_BOOTSTRAP_TOKEN=$(openssl rand -hex 3).$(openssl rand -hex 8) +KUBEADM_LOCAL_ENDPOINT=$(ip -4 addr show ens19 | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | awk 'NR==1{print $1}') # Set init configuration for the first control plane cat > "$HOME"/init_kubeadm.yaml <