TechnologyAugust 8, 2023

Get Started with the DataStax Enterprise 7.0 Vector Search Preview with Mission Control

Alexander Dejanovski
Alexander DejanovskiSoftware engineer
Get Started with the DataStax Enterprise 7.0 Vector Search Preview with Mission Control
kubectl kots install mission-control -n mission-control
• Deploying Admin Console
    • Creating namespace ✓
    • Waiting for datastore to be ready ✓
Enter a new password to be used for the Admin Console: ••••••••••
  • Waiting for Admin Console to be ready ✓

  • Press Ctrl+C to exit
  • Go to http://localhost:8800 to access the Admin Console

curl -sSL https://kurl.sh/mission-control-private-preview | sudo bash
        Installation
            Complete ✔


Kotsadm: http://30.91.53.115:8800
Login with password (will not be shown again): zBKLdE0du
This password has been set for you by default. It is recommended that 
you change this password; this can be done with the following command: 
kubectl kots reset-password default
To add worker nodes to this installation, run the following script on your 
other nodes:
    curl -fsSL 
https://kurl.sh/version/v2023.07.11-0/mission-control-private-preview/join.
sh | sudo bash -s kubernetes-master-address=175.32.21.207:6443
kubeadm-token=519y9r.5rvob6osa35gq
kubeadm-token-ca-hash=sha256:e5f1923e8648372f632e3af251617612459a26ba51e3fe
f54b2639043788c kubernetes-version=1.24.15 ekco-address=172.31.24.207:31880
ekco-auth-token=t93tD121B5WiGHD3glwGs0UEHuMJGHydbjpdjEDA9EWsUiz4SbbRqRHuaHH
i4docker-registry-ip=11.90.12.92
additional-no-proxy-addresses=11.90.0.0/22,11.30.0.0/20 
primary-host=175.32.21.207

kubectl get nodes
NAME               STATUS   ROLES                  AGE   VERSION
ip-175-32-24-217   Ready    control-plane,master   61m   v1.24.15
ip-175-32-36-162   Ready    <none>                 49m   v1.24.15
ip-175-32-7-69     Ready    <none>                 47m   v1.24.15
apiVersion: missioncontrol.datastax.com/v1alpha1
kind: DSECluster
metadata:
  name: test

  namespace: mission-control
spec:
  serverVersion: 7.0.0-a
  storageConfig:
    cassandraDataVolumeClaimSpec:
      storageClassName: default
      accessModes:
        - ReadWriteOnce
      resources:
        requests:
          storage: 10Gi
  config:
    jvmOptions:
      heapSize: 1G
  datacenters:
    - metadata:
        name: dc1
      size: 3
      resources:
        requests:
          memory: 2Gi
 ...
  networking:
    hostNetwork: true
  config:
    ...
kubectl apply -f dse7cluster.yaml
$ kubectl get pods -n mission-control                                                               

NAME                                                  READY   STATUS    RESTARTS   AGE
cass-operator-controller-manager-6487b8fb6c-xkjjx     1/1     Running   0          41m
k8ssandra-operator-55b44544d6-n8gs8                   1/1     Running   0          41m
mission-control-controller-manager-54c64975cd-nvcm7   1/1     Running   0          41m
test-dc1-default-sts-0                                0/2     Pending   0          7s
test-dc1-default-sts-1                                0/2     Pending   0          7s
test-dc1-default-sts-2                                0/2     Pending   0          7s
NAME                                                  READY   STATUS    RESTARTS   AGE
cass-operator-controller-manager-6487b8fb6c-xkjjx     1/1     Running   0          50m
k8ssandra-operator-55b44544d6-n8gs8                   1/1     Running   0          50m
mission-control-controller-manager-54c64975cd-nvcm7   1/1     Running   0          50m
test-dc1-default-sts-0                                2/2     Running   0          9m6s
test-dc1-default-sts-1                                2/2     Running   0          9m6s
test-dc1-default-sts-2                                2/2     Running   0          9m6s
$ kubectl get secret/test-superuser -n mission-control -o
jsonpath='{.data.username}' | base64 -d; echo
test-superuser
$ kubectl get secret/test-superuser -n mission-control -o
jsonpath='{.data.password}' | base64 -d; echo
WJglmmrYoYud4VpLkGNK
$ cqlsh --username test-superuser --password WJglmmrYoYud4VpLkGNK  
ip-175-32-24-217
Connected to test at ip-175-32-24-217:9042
[cqlsh 6.0.0 | Cassandra 4.0.7-c556d537c707 | CQL spec 3.4.5 | Native
protocol v5]
Use HELP for help.
test-superuser@cqlsh>

kubectl port-forward svc/test-dc1-service 9042:9042 -n mission-control
$ cqlsh --username test-superuser --password WJglmmrYoYud4VpLkGNK 127.0.0.1
Connected to test at 127.0.0.1:9042.
[cqlsh 6.0.0 | Cassandra 4.0.7-c556d537c707 | CQL spec 3.4.5 | Native
protocol v5]
Use HELP for help.
test-superuser@cqlsh>
Discover more
DataStax EnterpriseVector Search
Share

One-stop Data API for Production GenAI

Astra DB gives JavaScript developers a complete data API and out-of-the-box integrations that make it easier to build production RAG apps with high relevancy and low latency.