Kubernetes - 2022 sügis: erinevus redaktsioonide vahel
Allikas: Imre kasutab arvutit
Mine navigeerimisribaleMine otsikasti
Resümee puudub |
Resümee puudub |
||
31. rida: | 31. rida: | ||
https://github.com/rancher/os/releases/download/v1.5.8/rancheros-proxmoxve-autoformat.iso |
https://github.com/rancher/os/releases/download/v1.5.8/rancheros-proxmoxve-autoformat.iso |
||
+ | |||
+ | Template |
||
+ | |||
+ | <pre> |
||
+ | { |
||
+ | "annotations": { |
||
+ | "ownerBindingsCreated": "true" |
||
+ | }, |
||
+ | "baseType": "nodeTemplate", |
||
+ | "cloudCredentialId": null, |
||
+ | "created": "2022-10-26T22:51:41Z", |
||
+ | "createdTS": 1666824701000, |
||
+ | "creatorId": "user-7rrms", |
||
+ | "driver": "proxmoxve", |
||
+ | "engineEnv": { }, |
||
+ | "engineInstallURL": "https://releases.rancher.com/install-docker/20.10.sh", |
||
+ | "engineLabel": { }, |
||
+ | "engineOpt": { }, |
||
+ | "engineRegistryMirror": [ ], |
||
+ | "id": "cattle-global-nt:nt-d9w8b", |
||
+ | "labels": { |
||
+ | "cattle.io/creator": "norman" |
||
+ | }, |
||
+ | "links": { |
||
+ | "nodePools": "…/v3/nodePools?nodeTemplateId=cattle-global-nt%3Ant-d9w8b", |
||
+ | "nodes": "…/v3/nodes?nodeTemplateId=cattle-global-nt%3Ant-d9w8b", |
||
+ | "self": "…/v3/nodeTemplates/cattle-global-nt:nt-d9w8b", |
||
+ | "update": "…/v3/nodeTemplates/cattle-global-nt:nt-d9w8b" |
||
+ | }, |
||
+ | "logOpt": { }, |
||
+ | "name": "tmplimre", |
||
+ | "principalId": "local://user-7rrms", |
||
+ | "proxmoxveConfig": { |
||
+ | "debugDriver": true, |
||
+ | "debugResty": true, |
||
+ | "provisionStrategy": "cdrom", |
||
+ | "proxmoxHost": "192.168.110.250", |
||
+ | "proxmoxNode": "pm-kns", |
||
+ | "proxmoxPool": "vaiki", |
||
+ | "proxmoxRealm": "pam", |
||
+ | "proxmoxUserName": "root", |
||
+ | "proxmoxUserPassword": "parool", |
||
+ | "sshPassword": "", |
||
+ | "sshPort": "22", |
||
+ | "sshUsername": "", |
||
+ | "vmCienabled": "", |
||
+ | "vmCitype": "", |
||
+ | "vmCloneFull": "2", |
||
+ | "vmCloneVmid": "", |
||
+ | "vmCpu": "", |
||
+ | "vmCpuCores": "1", |
||
+ | "vmCpuSockets": "2", |
||
+ | "vmImageFile": "local:iso/rancheros-proxmoxve-autoformat.iso", |
||
+ | "vmMemory": "2", |
||
+ | "vmNetBridge": "vmbr0", |
||
+ | "vmNetFirewall": "0", |
||
+ | "vmNetModel": "virtio", |
||
+ | "vmNetMtu": "", |
||
+ | "vmNetTag": "0", |
||
+ | "vmNuma": "", |
||
+ | "vmProtection": "", |
||
+ | "vmScsiAttributes": "", |
||
+ | "vmScsiController": "virtio-scsi-pci", |
||
+ | "vmStartOnboot": "", |
||
+ | "vmStoragePath": "sn_data", |
||
+ | "vmStorageSize": "12", |
||
+ | "vmStorageType": "QCOW2", |
||
+ | "vmVmidRange": "" |
||
+ | }, |
||
+ | "state": "active", |
||
+ | "storageOpt": { }, |
||
+ | "transitioning": "no", |
||
+ | "transitioningMessage": "", |
||
+ | "type": "nodeTemplate", |
||
+ | "useInternalIpAddress": true, |
||
+ | "uuid": "a6c62f53-9316-41bb-8242-2d641988e522" |
||
+ | } |
||
+ | </pre> |
||
===Kasulikud lisamaterjalid=== |
===Kasulikud lisamaterjalid=== |
Redaktsioon: 27. oktoober 2022, kell 03:23
Sissejuhatus
TODO
Management Cluster on Docker
Käivitamine
docker run -d --restart=unless-stopped \ -p 80:80 -p 443:443 \ --privileged \ rancher/rancher:latest
Jälgida käivitumist, kulub mitu minutit
root@tf-vm-1:~# docker logs -f practical_mcnulty
Seejärel pöörduda webgui haldusliidese poole, https://192.168.110.11/
Kasulikud lisamaterjalid
Node tekitamine
Node driver - https://github.com/lnxbil/docker-machine-driver-proxmox-ve/releases/download/v4/docker-machine-driver-proxmoxve.linux-amd64
https://github.com/rancher/os/releases aadressilt saab kopeerida
https://github.com/rancher/os/releases/download/v1.5.8/rancheros-proxmoxve-autoformat.iso
Template
{ "annotations": { "ownerBindingsCreated": "true" }, "baseType": "nodeTemplate", "cloudCredentialId": null, "created": "2022-10-26T22:51:41Z", "createdTS": 1666824701000, "creatorId": "user-7rrms", "driver": "proxmoxve", "engineEnv": { }, "engineInstallURL": "https://releases.rancher.com/install-docker/20.10.sh", "engineLabel": { }, "engineOpt": { }, "engineRegistryMirror": [ ], "id": "cattle-global-nt:nt-d9w8b", "labels": { "cattle.io/creator": "norman" }, "links": { "nodePools": "…/v3/nodePools?nodeTemplateId=cattle-global-nt%3Ant-d9w8b", "nodes": "…/v3/nodes?nodeTemplateId=cattle-global-nt%3Ant-d9w8b", "self": "…/v3/nodeTemplates/cattle-global-nt:nt-d9w8b", "update": "…/v3/nodeTemplates/cattle-global-nt:nt-d9w8b" }, "logOpt": { }, "name": "tmplimre", "principalId": "local://user-7rrms", "proxmoxveConfig": { "debugDriver": true, "debugResty": true, "provisionStrategy": "cdrom", "proxmoxHost": "192.168.110.250", "proxmoxNode": "pm-kns", "proxmoxPool": "vaiki", "proxmoxRealm": "pam", "proxmoxUserName": "root", "proxmoxUserPassword": "parool", "sshPassword": "", "sshPort": "22", "sshUsername": "", "vmCienabled": "", "vmCitype": "", "vmCloneFull": "2", "vmCloneVmid": "", "vmCpu": "", "vmCpuCores": "1", "vmCpuSockets": "2", "vmImageFile": "local:iso/rancheros-proxmoxve-autoformat.iso", "vmMemory": "2", "vmNetBridge": "vmbr0", "vmNetFirewall": "0", "vmNetModel": "virtio", "vmNetMtu": "", "vmNetTag": "0", "vmNuma": "", "vmProtection": "", "vmScsiAttributes": "", "vmScsiController": "virtio-scsi-pci", "vmStartOnboot": "", "vmStoragePath": "sn_data", "vmStorageSize": "12", "vmStorageType": "QCOW2", "vmVmidRange": "" }, "state": "active", "storageOpt": { }, "transitioning": "no", "transitioningMessage": "", "type": "nodeTemplate", "useInternalIpAddress": true, "uuid": "a6c62f53-9316-41bb-8242-2d641988e522" }