Kubernetes Classroom Series – 23/Jun/2021

Exercise

  • Try to Create a Docker Image and push it to the docker hub
  • Nop commerce works with mysql
  • NopCommerce Dockerfile
FROM mcr.microsoft.com/dotnet/aspnet:3.1
EXPOSE 80
ENV ASPNETCORE_ENVIRONMENT="Production"
ENV DOTNET_PRINT_TELEMETRY_MESSAGE=false
ADD ./nop/ /nop
WORKDIR /nop
exec ["dotnet", "Nop.Web.dll"]
  • Create a k8s pod with
    • nopcommerce
    • mysql
  • Refer Here for the change set containing pod spec for nop commerce
  • run this pod spec in your Kubernetes cluster and try to define the resources and limits
  • Try to create resources and limits for the burstable QoS
    • our observation was cpu utilization for 2 VCPU was 0.35 % and memory was 350 MB

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin