Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large game server container images #13

Open
dgkanatsios opened this issue Oct 12, 2021 · 3 comments
Open

Large game server container images #13

dgkanatsios opened this issue Oct 12, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@dgkanatsios
Copy link
Collaborator

Some game server container images can be pretty large, i.e. several GB. This can result in container images being slow to download and extract. Thus, Pods that reference large containers on AKS will take some time to download and start. Azure Container Registry has introduced project Teleport which is coming soon to AKS in public preview and will greatly decrease time needed to start Pod off a large container image.
We should

  • document Teleport once it becomes available for AKS
  • document alternative ways, e.g.
    • having the game server container image containing only the executable binaries and have the rest of the files located on an Azure File Share and mounted on each Pod
    • having game server asset files copied from a central location to every Node and mounted by each GameServer Pod. We could do this with a DaemonSet but we'd need a way to signal that the Node is unschedulable as it downloads and extracts the files (so we don't schedule GameServer Pods before the files are there).
@dgkanatsios dgkanatsios added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Oct 12, 2021
@dgkanatsios
Copy link
Collaborator Author

We should document mounting asset files the way this is done on MPS, e.g. mounted on "/data/DownloadedAssets" on every container instance.

@dgkanatsios
Copy link
Collaborator Author

Azure Disk CSI driver might be interesting to look at: https://github.com/kubernetes-sigs/azuredisk-csi-driver

Specifically the shareddisk feature: https://github.com/kubernetes-sigs/azuredisk-csi-driver/tree/master/deploy/example/sharedisk

@dgkanatsios
Copy link
Collaborator Author

We should also mention support for AKS teleport, when it's on public preview. Azure/AKS#1785

@dgkanatsios dgkanatsios added this to the 0.2.0 milestone Nov 18, 2021
@dgkanatsios dgkanatsios modified the milestones: 0.2.0, 0.3.0 Jan 5, 2022
@dgkanatsios dgkanatsios modified the milestones: 0.3.0, 0.4.0 Mar 18, 2022
@dgkanatsios dgkanatsios modified the milestones: 0.4.0, 0.5.0 May 23, 2022
@dgkanatsios dgkanatsios modified the milestones: 0.5.0, 0.6.0 Jul 8, 2022
@dgkanatsios dgkanatsios removed this from the 0.6.0 milestone Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant