Clone this project. Execute create.sh.
./create.sh
Now you can execute kubectl get svc
to get ip for nopservice
.Visit in ip to install nopCommerce.
Notice:You must install it before you can scale the nop deployment
.
You can scale the nop deployment
after the installation is complete.
kubectl scale deployment nop-deployment --replicas=5
You can edit the following configurations.
- redis.conf
- nop-appsettings.json
- Apply an azure disk named
mssql-data
for SqlServer. - Apply an azure file named
azurefile
for nopCommerce.
- Deployment SqlServer2017 named
mssql-deployment
with a persistent volume named mssql-data.The default password atcreate.sh
file. - Create a service of
ClusterIP
type namedk8s-mssql
fork8s-mssql deployment
.
- Deployment Redis
deployment
namedredis-app
. - Create a service of
ClusterIP
type namedredisvc
forredis-app deployment
.
- Deployment nopCommerce
deployment
namednop-deployment
. - Create a service of
LoadBalancer
type namednopservice
fornop deployment
.