Label Studio ใ‚’ k8s ใซใƒ‡ใƒ—ใƒญใ‚คใ™ใ‚‹

ๅ‰ๅ›ž Label Studio ใฎ็ดนไป‹่จ˜ไบ‹1ใ‚’ๆ›ธใใพใ—ใŸใŒใ€่‡ชๅˆ†ไปฅๅค–ใซใ‚‚ใƒใƒผใƒ ๅ…จไฝ“ใง Label Studio ใ‚’ไฝฟใ„ใŸใ„ใจใ„ใ†่ฆๆœ›ใŒใ‚ใฃใŸใฎใง Web ใ‚ขใƒ—ใƒชใจใ—ใฆ labelstudio ใ‚’ใƒ›ใ‚นใƒˆใ—ใพใ—ใŸใ€‚ ๆ„ๅค–ใจ็ฐกๅ˜ใซ k8s ไธŠใงใƒ›ใ‚นใƒˆใงใใŸใฎใงใ€ใใฎๆ–นๆณ•ใ‚’ๅ…ฌ้–‹ใ—ใฆใŠใใ€‚ Label Studio ใฎ้‹็”จๆ–นๆณ•ใฏใ€ Docker ใ‚คใƒกใƒผใ‚ธใŒๆไพ›ใ•ใ‚Œใฆใ„ใ‚‹ใฎใงใ€ใใ‚Œใ‚’ไฝฟ็”จใ™ใ‚‹ใฎใŒๆœ€ใ‚‚็ฐกๅ˜ใงใ™ใ€‚ CloudRun ใ‚’ไฝฟใฃใฆใ‚ตใƒผใƒใƒผใƒฌใ‚นใงๅ‹•ใ‹ใ™ๆ–นๆณ•2ใ‚‚ใ‚ใ‚Šใพใ™ใŒใ€ไปŠๅ›žใฏ k8s ไธŠใซ Label Studio ใฎ Docker ใ‚คใƒกใƒผใ‚ธใ‚’ใƒ‡ใƒ—ใƒญใ‚คใ—ใฆใ€้‹็”จใ™ใ‚‹ใ“ใจใซใชใ‚Šใพใ—ใŸใ€‚ k8s ใฎใƒžใƒ‹ใƒ•ใ‚งใ‚นใƒˆใƒ•ใ‚กใ‚คใƒซใฏใ€ๅ…ฌๅผใƒชใƒใ‚ธใƒˆใƒช3ใ‚’ๅ‚่€ƒใซไฝœๆˆใ—ใพใ—ใŸใ€‚ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 apiVersion:v1kind:Servicemetadata:name:labelstudionamespace:developmentspec:ports:- name:httpport:8080protocol:TCPselector:app:labelstudio---apiVersion:v1kind:PersistentVolumeClaimmetadata:name:labelstudio-data-pvcnamespace:developmentspec:accessModes:- ReadWriteOnceresources:requests:storage:50Gi---apiVersion:apps/v1kind:Deploymentmetadata:labels:app:labelstudioname:labelstudionamespace:developmentspec:replicas:1selector:matchLabels:app:labelstudiotemplate:metadata:labels:app:labelstudiospec:containers:- image:heartexlabs/label-studio:v1....

June 3, 2022 ยท Shunya Ueta