Tuesday, November 3, 2020

latest nginx-ingress

 helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx

helm repo add stable https://charts.helm.sh/stable
helm repo update
how to install ?
helm install [RELEASE_NAME] ingress-nginx/ingress-nginx
https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx

Thursday, October 29, 2020

How to setup Stackstorm in k8s cluster ?

 https://docs.stackstorm.com/install/k8s_ha.html



Stackstorm

 How to setup Stackstorm in the local workstation  ?

git clone https://github.com/StackStorm/st2-docker.git && cd st2-docker



you have a docker-compose.yml file in it.



docker-compose up -d 


it will pull a couple of docker images.


docker-compose exec st2client bash 


you will exec into the container.




expected page for this:



How to access the app ?


http://127.0.0.1 


username: st2admin


password: Ch@ngeMe


Dashboard:







Sunday, September 20, 2020

Virtual Network Service Endpoints

 Virtual Network (Vnet)  service endpoints extend your vnet private address space and the identity of your vnet to the azure services, over a direct connection. endpoints allow your to secure your critical azure service resources to only your virtual networks. traffic from your vnet to the azure service always remains on the microsoft azure backbone network.

generally available,

azure storage

azure sql database

azure sql data warehouse 

azure database for mysql server

azure database for mariadb 

azure cosmos db

azure key vault 

azure service bus

azure event hubs 

azure data lake store gen1 


conditional access policy

 End user protection : 

End User Protection is a risk based MFA baseline policy that protects all users in a directory, including all administrator roles. Enabling this policy requires all users to register for MFA using the authenticator App. Users can ignore the MFA registration prompt for 14 days, after which they will be blocked signing in until they register for MFA. Once registered for MFA, users will be prompted for MFA only during risky sign-in attempts. Compromised user accounts are blocked until their password is reset and risk events have been dismissed.

Block legacy authentication to Azure AD with conditional access:

To give your users easy access to your cloud apps, Azure AD supports a broad variety of authentication protocols including legacy authentication. however, legacy protocols dont support multi-factor authentication. MFA is in many environments a common requirement to address identity theft.

Baseline policy: Require MFA for service management:

you might be using a variety of azure services in your organization. These services can be managed through Azure Resource Manager API.

1. Azure Portal 

2. Azure PowerShell 

3. Azure CLI 

Using Azure Resource Manager to manage your services is a highly privileged action. Azure Resource Manager can alter tenant-wide configurations, such as service settings and subscription billing. Single factor authentication is vulnerable to a variety of attacks like phishing and password spray. Therefore, its important to verify the identity of users wanting to access azure resources manager and update configurations, by requiring multi-factor authentication before allowing access.

Require MFA for service management is a baseline policy. that will require MFA for any user accessing Azure portal, Azure PowerShell, or Azure CLI. This policy appiles to all users accessing Azure Resource Manager, regardless of if they are an administrator.














TXT DNS record

 After you add your custom domain to Azure AD, you must return to your domain registrar and add the Azure AD DNS information from your copied TXT file. Creating this TXT record for your domain verifies ownership of your domain name.