With a triple integral, including limits of integration that gives the volume of the cap of the solid sphere x² + y² + z² ≤ 2 cut off by the plane z = 1 and restricted to the first octant.
What coordinates are you using?